[libnotify] build: Update the list of headers in srcdir
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnotify] build: Update the list of headers in srcdir
- Date: Mon, 17 Jul 2017 09:17:01 +0000 (UTC)
commit 46e8b1cfad0012be1d74a32ded0f5f873599b2b4
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Jul 17 10:11:48 2017 +0100
build: Update the list of headers in srcdir
The generated notify-features.h header lives in builddir, which means it
does not exist in srcdir, where glib-mkenums will look. It also contains
pre-processor symbols only, so it's not really useful.
As we removed it from the list of headers to be scanned by the
introspection parser, we also need to update the files rules for that.
libnotify/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libnotify/Makefile.am b/libnotify/Makefile.am
index 0e8688f..33bcd00 100644
--- a/libnotify/Makefile.am
+++ b/libnotify/Makefile.am
@@ -16,11 +16,11 @@ lib_LTLIBRARIES = libnotify.la
notify_headers = \
notify.h \
- notify-features.h \
notification.h
notifyinc_HEADERS = \
$(notify_headers) \
+ notify-features.h \
$(ENUM_FILE).h
noinst_HEADERS = \
@@ -92,7 +92,7 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(top_srcdir)
Notify-0.7.gir: libnotify.la
Notify_0_7_gir_INCLUDES = GLib-2.0 GdkPixbuf-2.0
Notify_0_7_gir_LIBS = libnotify.la
-Notify_0_7_gir_FILES = $(notify_headers) $(libnotify_la_SOURCES)
+Notify_0_7_gir_FILES = $(notifyinc_HEADERS) $(libnotify_la_SOURCES)
Notify_0_7_gir_PACKAGES = glib-2.0 gobject-2.0 gdk-pixbuf-2.0
Notify_0_7_gir_EXPORT_PACKAGES = libnotify
Notify_0_7_gir_SCANNERFLAGS = --c-include "libnotify/notify.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]