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).
This commit is contained in:
Thierry Reding
2010-11-24 22:28:34 +01:00
committed by Lennart Poettering
parent 46ff0ed7b0
commit 382a0310f6
+1 -1
View File
@@ -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 += \