[PATCH xdm] Fix build outside of source dir. Fixes distcheck too.
Matthieu Herrb
matthieu.herrb at laas.fr
Mon Nov 7 08:05:46 PST 2011
Signed-off-by: Matthieu Herrb <matthieu.herrb at laas.fr>
---
Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index bb6b51c..e9da40f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,9 +45,9 @@ systemdsystemunit_DATA = xdm.service
xdm.service: xdm.service.in Makefile
if USE_SYSTEMD_DAEMON
- $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' < xdm.service.in > $@
+ $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' < ${srcdir}/xdm.service.in > $@
else !USE_SYSTEMD_DAEMON
- $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' -e '/[Nn]otify/d' < xdm.service.in > $@
+ $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' -e '/[Nn]otify/d' < ${srcdir}/xdm.service.in > $@
endif !USE_SYSTEMD_DAEMON
endif HAVE_SYSTEMD
--
1.7.0.4
More information about the xorg-devel
mailing list