[systemd-devel] [PATCH 1/2] build-sys: fix out-of-tree build
Thierry Reding
thierry.reding at avionic-design.de
Wed Nov 24 10:49:15 PST 2010
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 2fa6ecb..7cd6787 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1126,7 +1126,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 += \
More information about the systemd-devel
mailing list