summaryrefslogtreecommitdiff
path: root/man/Makefile.am
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2010-10-20 09:41:52 +0200
committerGuillem Jover <guillem@hadrons.org>2010-10-21 05:28:26 +0200
commit56d40816921ab4adf09809e0524347c58d4309ff (patch)
tree17bdaf8f07010de8acfb6b551854e8aff9e6c77d /man/Makefile.am
parentbb02364036554a273bbcec8d7eeaee9865e9390f (diff)
build: Use new man page support from xorg-macros 1.8
Use MAN_SUBST and SED now set by XORG_MANPAGE_SECTIONS.
Diffstat (limited to 'man/Makefile.am')
-rw-r--r--man/Makefile.am19
1 files changed, 1 insertions, 18 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 55b3b7c..fb68acd 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -30,24 +30,7 @@ EXTRA_DIST = @DRIVER_NAME@.man
CLEANFILES = $(driverman_DATA)
-SED = sed
-
-# Strings to replace in man pages
-XORGRELSTRING = @PACKAGE_STRING@
- XORGMANNAME = X Version 11
-
-MAN_SUBSTS = \
- -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
- -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
- -e 's|__xservername__|Xorg|g' \
- -e 's|__xconfigfile__|xorg.conf|g' \
- -e 's|__projectroot__|$(prefix)|g' \
- -e 's|__moduledir__|$(moduledir)|g' \
- -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
- -e 's|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g' \
- -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \
- -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \
- -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
+# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man