summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2016-08-25 10:55:51 -0400
committerChristoph Reiter <reiter.christoph@gmail.com>2018-12-19 07:59:18 +0100
commit22d5dcd1d1bc6368bb4a44a64f99c8c3cf2bab76 (patch)
treedbf3c74d980b26a1c378e9ba2a05b9f4458d0235
parent60f78f7e9e984802290a483535db208152008472 (diff)
downloadgobject-introspection-22d5dcd1d1bc6368bb4a44a64f99c8c3cf2bab76.tar.gz
automake: Use the wildcard function where needed. Fixes #160
-rw-r--r--Makefile-gir.am16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile-gir.am b/Makefile-gir.am
index 043765ca..36c8dc60 100644
--- a/Makefile-gir.am
+++ b/Makefile-gir.am
@@ -157,7 +157,7 @@ GIO_LIBRARY=gio-2.0
if HAVE_GIO_UNIX
GIO_UNIX_INCLUDEDIR = $(shell "${PKG_CONFIG}" --variable=includedir gio-unix-2.0)/gio-unix-2.0
-GIO_UNIX_HDRS = $(GIO_UNIX_INCLUDEDIR)/gio/*.h
+GIO_UNIX_HDRS = $(wildcard $(GIO_UNIX_INCLUDEDIR)/gio/*.h)
GIO_UNIX_PACKAGES = gio-unix-2.0
else
GIO_UNIX_INCLUDEDIR =
@@ -213,13 +213,13 @@ GIRepository_2_0_gir_CFLAGS = \
-I$(top_builddir)/girepository \
-DGI_COMPILATION
GIRepository_2_0_gir_FILES = \
- $(top_srcdir)/girepository/girepository.h \
- $(top_srcdir)/girepository/girepository.c \
- $(top_srcdir)/girepository/gi*info.c \
- $(top_srcdir)/girepository/gi*info.h \
- $(top_srcdir)/girepository/giversion.c \
- $(top_builddir)/girepository/giversion.h \
- $(top_srcdir)/girepository/gitypelib.h \
+ $(top_srcdir)/girepository/girepository.h \
+ $(top_srcdir)/girepository/girepository.c \
+ $(wildcard $(top_srcdir)/girepository/gi*info.c) \
+ $(wildcard $(top_srcdir)/girepository/gi*info.h) \
+ $(top_srcdir)/girepository/giversion.c \
+ $(top_builddir)/girepository/giversion.h \
+ $(top_srcdir)/girepository/gitypelib.h \
$(top_srcdir)/girepository/gitypes.h
BUILT_GIRSOURCES += GIRepository-2.0.gir