From 61608b87c01ce87bd29869c1554a2ade5998782c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 9 Jul 2010 20:45:53 -0700 Subject: 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 --- tools/Makefile.am | 4 ++-- 1 file 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 -- cgit v1.2.3