From: Thierry Reding Date: Wed, 24 Nov 2010 18:49:15 +0000 (+0100) Subject: build-sys: fix out-of-tree build X-Git-Tag: v14~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=382a0310f67ca87c40155847a036937e2f4177fa build-sys: fix out-of-tree build The introspect AWK script is located in the source tree, which is not necessarily the same as the build tree, so prepend $(srcdir). --- diff --git a/Makefile.am b/Makefile.am index 694ec57a9..a615c3ff2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1122,7 +1122,7 @@ DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h org.freedesktop.systemd1.%.xml: systemd $(AM_V_GEN)$(OBJCOPY) -O binary -j introspect.$* $< $@.tmp && \ - $(STRINGS) $@.tmp | $(AWK) -f introspect.awk | \ + $(STRINGS) $@.tmp | $(AWK) -f $(srcdir)/introspect.awk | \ $(DBUS_PREPROCESS) -o $@ - && rm $@.tmp CLEANFILES += \