[PATCH video-modesetting 03/14] man: missing AM_V_GEN and hard-coded sed command name
Gaetan Nadon
memsize at videotron.ca
Sun Feb 19 05:34:22 PST 2012
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 at videotron.ca>
---
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 at .man
+driverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
EXTRA_DIST = @DRIVER_NAME at .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) < $< > $@
--
1.7.5.4
More information about the xorg-devel
mailing list