From 83d288085fe1203a0bbfd2bd4d2486eb38699f7f Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 3 Dec 2009 13:58:18 +0100 Subject: [PATCH] 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 :4: /home/kay/work/src/udev/extras/gudev/gudev.h:26:34: error: gudev/gudevenumtypes.h: No such file or directory Also prepend $(builddir). --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 4dfab563..83ecb745 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 \ -- 2.39.5