summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-07-09 20:45:53 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-07-09 20:45:53 -0700
commit61608b87c01ce87bd29869c1554a2ade5998782c (patch)
treecaa1b7050e9cae8d8d4a7635fc7702811e6892d3
parentd7700bed84f6632913a6590cc9cc9d10b815a08c (diff)
Improve Solaris compatibility of hal-probe-vmmouse generation rule
Use $(SED) from AC_PROG_SED to ensure a good version of sed is found Use explicit input file name instead of $< to workaround Solaris make issue with $< in explicit rules. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--tools/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 581ad65..02a721e 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -29,9 +29,9 @@ calloutsdir=$(HAL_CALLOUTS_DIR)
callouts_SCRIPTS = hal-probe-vmmouse
hal-probe-vmmouse: hal-probe-vmmouse.in
- sed -e 's|__BIN_PREFIX__|$(bindir)|g' \
+ $(AM_V_GEN)$(SED) -e 's|__BIN_PREFIX__|$(bindir)|g' \
-e 's|__HAL_BIN_PREFIX__|$(HAL_BIN_DIR)|g' \
- < $< > $@
+ < hal-probe-vmmouse.in > $@
EXTRA_DIST = hal-probe-vmmouse.in