From: Daniel Elstner Date: Wed, 2 Dec 2009 20:39:50 +0000 (+0200) Subject: really fix both in-tree and out-of-tree builds X-Git-Tag: 174~687 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4035cce3632b95650fd89f581756bbea4628a7e;p=systemd 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. --- diff --git a/Makefile.am b/Makefile.am index 31cb2448..4dfab563 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 \