summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2010-11-24 19:49:15 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-24 22:28:34 +0100
commit382a0310f67ca87c40155847a036937e2f4177fa (patch)
tree0429bc2884c95c4cdcab5c8d8124959e464fc848
parent46ff0ed7b09d7c76254285b69cfe9d5f86950b8f (diff)
downloadsystemd-382a0310f67ca87c40155847a036937e2f4177fa.tar.gz
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).
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 694ec57a9b..a615c3ff2e 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 += \