mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
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:
parent
46ff0ed7b0
commit
382a0310f6
@ -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 += \
|
||||
|
Loading…
x
Reference in New Issue
Block a user