diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2012-02-19 08:34:22 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-21 16:17:07 +0000 |
commit | 81e1cd9337fb7b2efacb35a6d0af9f7ab7ba74f0 (patch) | |
tree | 0cbe875b2f2b7fca9a4d505bd4051dea3b2340eb | |
parent | 3189196ece713ca7a0058d2d76e0eaaf9757fc35 (diff) |
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 <memsize@videotron.ca>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | man/Makefile.am | 8 |
1 files 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) < $< > $@ |