From 382a0310f67ca87c40155847a036937e2f4177fa Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Wed, 24 Nov 2010 19:49:15 +0100 Subject: [PATCH 1/1] 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). --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 += \ -- 2.30.2