From 81e1cd9337fb7b2efacb35a6d0af9f7ab7ba74f0 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 19 Feb 2012 08:34:22 -0500 Subject: man: missing AM_V_GEN and hard-coded sed command name Let's use the common xorg makefile for all drivers. This ensures no new problems are introduced. Improvements are welcome and to be applied to all drivers. Signed-off-by: Gaetan Nadon Signed-off-by: Dave Airlie --- man/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/man/Makefile.am b/man/Makefile.am index 936821c..5e96df5 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -25,16 +25,16 @@ # drivermandir = $(DRIVER_MAN_DIR) -driverman_DATA = $(DRIVER_NAME).$(DRIVER_MAN_SUFFIX) +driverman_PRE = @DRIVER_NAME@.man +driverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@) EXTRA_DIST = @DRIVER_NAME@.man CLEANFILES = $(driverman_DATA) -SED = sed +# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man .man.$(DRIVER_MAN_SUFFIX): - sed $(MAN_SUBSTS) < $< > $@ - + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ -- cgit v1.2.3