From a4035cce3632b95650fd89f581756bbea4628a7e Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Wed, 2 Dec 2009 22:39:50 +0200 Subject: [PATCH] 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. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 2.39.5