]> err.no Git - systemd/commitdiff
really fix both in-tree and out-of-tree builds
authorDaniel Elstner <danielk@openismus.com>
Wed, 2 Dec 2009 20:39:50 +0000 (22:39 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 3 Dec 2009 12:57:44 +0000 (13:57 +0100)
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

index 31cb2448936df4db50a016b9c2f16a02b95c456e..4dfab563ca3e5654617a8abe9b50c49c0649dbb0 100644 (file)
@@ -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 \