summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Elstner <danielk@openismus.com>2009-12-02 22:39:50 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-12-03 13:57:44 +0100
commita4035cce3632b95650fd89f581756bbea4628a7e (patch)
treec38c19922ec0de9be6e9c5bba54d9d09df1783e2 /Makefile.am
parent4cf3298e1fc7678fe1a5022ed8ba66b775d7334f (diff)
really fix both in-tree and out-of-tree builds
Makefile.am (extras/gudev/GUdev-1.0.gir): Look for gudevenumtypes.h in both the build directory and the source directory, so that it works in either case.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 31cb244893..4dfab563ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -389,7 +389,7 @@ extras/gudev/GUdev-1.0.gir: extras/gudev/libgudev-1.0.la $(G_IR_SCANNER) Makefil
$(top_srcdir)/extras/gudev/gudev.h \
$(top_srcdir)/extras/gudev/gudevtypes.h \
$(top_srcdir)/extras/gudev/gudevenums.h \
- $(top_srcdir)/extras/gudev/gudevenumtypes.h \
+ $(or $(wildcard extras/gudev/gudevenumtypes.h),$(top_srcdir)/extras/gudev/gudevenumtypes.h) \
$(top_srcdir)/extras/gudev/gudevclient.h \
$(top_srcdir)/extras/gudev/gudevdevice.h \
$(top_srcdir)/extras/gudev/gudevclient.c \