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.
This commit is contained in:
Emmanuele Bassi 2017-07-17 10:11:48 +01:00
parent 5398ecfe3f
commit 46e8b1cfad
1 changed files with 2 additions and 2 deletions

View File

@ -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"