Specific includes for gir.
authorAndrea Zagli <azagli@libero.it>
Sat, 24 Jun 2017 13:18:50 +0000 (15:18 +0200)
committerAndrea Zagli <azagli@libero.it>
Sat, 24 Jun 2017 13:18:50 +0000 (15:18 +0200)
src/Makefile.am

index fd4c311ae64175566897755dab91aeee2faf8306..8bc0998efb82b300270c857c30c49ba6f0094c62 100644 (file)
@@ -13,13 +13,16 @@ libzakcgi_la_SOURCES = commons.c \
 
 libzakcgi_la_LDFLAGS = -no-undefined
 
-libzakcgi_include_HEADERS = libzakcgi.h \
+gir_include = \
                             commons.h \
                             main.h \
                             session.h \
                             tag.h \
                             url.h
 
+libzakcgi_include_HEADERS = libzakcgi.h \
+                            $(gir_include)
+
 libzakcgi_includedir = $(includedir)/libzakcgi
 
 CLEANFILES =
@@ -30,7 +33,7 @@ INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --warn-all
 INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
 
 if HAVE_INTROSPECTION
-introspection_sources = $(libzakcgi_la_SOURCES) $(libzakcgi_include_HEADERS)
+introspection_sources = $(libzakcgi_la_SOURCES) $(gir_include)
 
 ZakCgi-1.0.gir: libzakcgi.la
 ZakCgi_1_0_gir_INCLUDES = GObject-2.0 GLib-2.0 Gio-2.0