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 19:49:15 +01:00 committed by Lennart Poettering
parent 46ff0ed7b0
commit 382a0310f6
1 changed files with 1 additions and 1 deletions

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 += \