From 3bbcb6a143bb3f53e5b776fb70a4933229c1781a Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 4 Jun 2024 14:14:56 +0200 Subject: fix FTBS: out-of-tree build /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 Part-of: --- tools/Makefile.am | 4 ++-- 1 file 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) -- cgit v1.2.3