summaryrefslogtreecommitdiff
path: root/man/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'man/Makefile.am')
-rw-r--r--man/Makefile.am10
1 files changed, 3 insertions, 7 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 2671512..142eb1d 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -21,20 +21,16 @@
# DEALINGS IN THE SOFTWARE.
#
-man_MANS = @DRIVER_NAME@_detect.1
-
drivermandir = $(DRIVER_MAN_DIR)
-driverman_PRE = @DRIVER_NAME@.man
+driverman_PRE = @DRIVER_NAME@.man @DRIVER_NAME@_detect.man
driverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
-EXTRA_DIST = @DRIVER_NAME@.man @DRIVER_NAME@_detect.1
+EXTRA_DIST = @DRIVER_NAME@.man @DRIVER_NAME@_detect.man
CLEANFILES = $(driverman_DATA)
-SED = sed
-
# Strings to replace in man pages
XORGRELSTRING = @PACKAGE_STRING@
XORGMANNAME = X Version 11
@@ -54,4 +50,4 @@ MAN_SUBSTS = \
SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
.man.$(DRIVER_MAN_SUFFIX):
- sed $(MAN_SUBSTS) < $< > $@
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@