summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-12-03 13:58:18 +0100
committerKay Sievers <kay.sievers@vrfy.org>2009-12-03 13:58:18 +0100
commit83d288085fe1203a0bbfd2bd4d2486eb38699f7f (patch)
tree9d9008d904cfd33f68d0e5922f1c1c4b085e26cb /Makefile.am
parenta4035cce3632b95650fd89f581756bbea4628a7e (diff)
really really fix both in-tree and out-of-tree builds
The include is still missing: GEN extras/gudev/GUdev-1.0.gir In file included from <stdin>:4: /home/kay/work/src/udev/extras/gudev/gudev.h:26:34: error: gudev/gudevenumtypes.h: No such file or directory Also prepend $(builddir).
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 4dfab563ca..83ecb74519 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -384,12 +384,13 @@ extras/gudev/GUdev-1.0.gir: extras/gudev/libgudev-1.0.la $(G_IR_SCANNER) Makefil
--pkg=glib-2.0 \
--pkg=gobject-2.0 \
-I$(top_srcdir)/extras \
+ -I$(top_builddir)/extras \
-D_GUDEV_COMPILATION \
-D_GUDEV_WORK_AROUND_DEV_T_BUG \
$(top_srcdir)/extras/gudev/gudev.h \
$(top_srcdir)/extras/gudev/gudevtypes.h \
$(top_srcdir)/extras/gudev/gudevenums.h \
- $(or $(wildcard extras/gudev/gudevenumtypes.h),$(top_srcdir)/extras/gudev/gudevenumtypes.h) \
+ $(or $(wildcard $(top_srcdir)/extras/gudev/gudevenumtypes.h),$(top_builddir)/extras/gudev/gudevenumtypes.h) \
$(top_srcdir)/extras/gudev/gudevclient.h \
$(top_srcdir)/extras/gudev/gudevdevice.h \
$(top_srcdir)/extras/gudev/gudevclient.c \