summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-06-04 14:14:56 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-06-05 11:30:41 +0200
commit3bbcb6a143bb3f53e5b776fb70a4933229c1781a (patch)
treef1b68eef6ef61e56b31406a74a139901bbcea587
parentb74c0a1326386a7186c7c8c157a5063d4b417fb2 (diff)
fix FTBS: out-of-tree buildmaster
/usr/bin/sed -e 's|__BIN_PREFIX__|/usr/local/bin|g' -e 's|__HAL_BIN_PREFIX__|/usr/local/bin|g' < > hal-probe-vmmouse /bin/sh: Syntax error: redirection unexpected (expecting word) *** Error code 2 It seems that BSD make doesn't really support VPATH, like GNU make does. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-vmmouse/-/merge_requests/5>
-rw-r--r--tools/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index a4d41ea..d11cbe9 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -35,7 +35,7 @@ callouts_SCRIPTS = hal-probe-vmmouse
hal-probe-vmmouse: hal-probe-vmmouse.in
$(AM_V_GEN)$(SED) -e 's|__BIN_PREFIX__|$(bindir)|g' \
-e 's|__HAL_BIN_PREFIX__|$(HAL_BIN_DIR)|g' \
- < $< > $@
+ < $(srcdir)/hal-probe-vmmouse.in > $@
CLEANFILES = hal-probe-vmmouse
@@ -51,7 +51,7 @@ udevdir=$(UDEV_RULES_DIR)
udev_DATA = 69-xorg-vmmouse.rules
$(udev_DATA): $(udev_DATA).in
- $(AM_V_GEN)$(SED) -e 's|__BIN_PREFIX__|$(bindir)|g' < $< > $@
+ $(AM_V_GEN)$(SED) -e 's|__BIN_PREFIX__|$(bindir)|g' < $(srcdir)/$(udev_DATA).in > $@
CLEANFILES += $(udev_DATA)