summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2010-04-08 16:09:51 +0200
committerMichel Dänzer <daenzer@vmware.com>2010-04-08 16:09:51 +0200
commitb9c3bc94ee86a72216e9738aaecede80cc1c043c (patch)
treeb4dd22a01bf16dcb267ac8bcf286429c487ed7fd
parent36c2cd8ec6d3bf7191a98a04a876e8d7b6f64d5d (diff)
Improve make rule for hal-probe-vmmouse.
Make sure changes to hal-probe-vmmouse.in get picked up automatically and simplify the way it's passed to sed. Thanks to Dan Nicholson for the suggestion.
-rw-r--r--tools/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index c00d65d..f5b8902 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -28,10 +28,10 @@ INCLUDES = -I$(top_srcdir)/shared
calloutsdir=$(HAL_CALLOUTS_DIR)
callouts_SCRIPTS = hal-probe-vmmouse
-hal-probe-vmmouse:
+hal-probe-vmmouse: hal-probe-vmmouse.in
sed -e 's|__BIN_PREFIX__|$(bindir)|g' \
-e 's|__HAL_BIN_PREFIX__|$(HAL_BIN_DIR)|g' \
- < $(srcdir)/$@.in > $@
+ < $< > $@
EXTRA_DIST = hal-probe-vmmouse.in