summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-07-08 14:55:32 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-07-08 14:56:15 -0700
commitb4975daf8c85eda619da1cb6f1584876786feaaa (patch)
tree1901e8f213c8eded7fc1457f82ac400fa8f8ac93 /man
parentd2a60612f4a9f50830d3c62780fe74507a8c82ad (diff)
downloadxorg-lib-libXRes-b4975daf8c85eda619da1cb6f1584876786feaaa.tar.gz
config: upgrade to util-macros 1.8 for additional man page support
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS Use platform appropriate version of sed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am15
1 files changed, 1 insertions, 14 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 87ccad5..c1ca1b8 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -34,22 +34,9 @@ CLEANFILES = $(libman_DATA) $(BUILT_SOURCES)
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
$(XRes_shadowmen)
-SED = sed
-
-# Strings to replace in man pages
-XORGRELSTRING = @PACKAGE_STRING@
- XORGMANNAME = X Version 11
-
-MAN_SUBSTS = \
- -e 's/__vendorversion__/"$(XORGRELSTRING)" "$(XORGMANNAME)"/' \
- -e 's/__xservername__/Xorg/g' \
- -e 's/__xconfigfile__/xorg.conf/g' \
- -e 's/__miscmansuffix__/$(MISC_MAN_SUFFIX)/g' \
- -e 's/__libmansuffix__/$(LIB_MAN_SUFFIX)/g' \
- -e 's/__filemansuffix__/$(FILE_MAN_SUFFIX)/g'
-
SUFFIXES = .$(LIB_MAN_SUFFIX) .man
+# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
.man.$(LIB_MAN_SUFFIX):
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@