summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)