summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-05-30 21:40:01 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-05-31 12:53:27 -0400
commita101621bf624466f66da41a8fa6b5ba796cd10fd (patch)
treeadd2c8cea3f19b087f37c49ca49ae1d52b912a2b
parent82c2e2d93413ec81e84cb33338e677e01aa382a9 (diff)
man: Use Autoconf provided $(AM_V_GEN)$(SED)
Enables silent rule and use platform appropriate version of sed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--man/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 521ec74..93ca73d 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -38,8 +38,6 @@ EXTRA_DIST = @DRIVER_NAME@.man synclient.man syndaemon.man
CLEANFILES = $(driverman_DATA) $(synclientman_DATA) $(syndaemonman_DATA)
-SED = sed
-
# Strings to replace in man pages
XORGRELSTRING = @PACKAGE_STRING@
XORGMANNAME = X Version 11
@@ -59,7 +57,7 @@ MAN_SUBSTS = \
SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
.man.$(DRIVER_MAN_SUFFIX):
- sed $(MAN_SUBSTS) < $< > $@
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
.man.$(APP_MAN_SUFFIX):
- sed $(MAN_SUBSTS) < $< > $@
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@