From 885a3330092c13786baa3aaabd728e71962486c4 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 9 Jan 2011 20:28:29 -0500 Subject: man: refactor common code in the man pages makefiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Create a manpages.am makefile snippet in the root dir. Each man page makefile includes manpages.am. Now all man pages in xserver are generated the same way using the same method as all of other xorg modules. All ".man.pre" files in git are ".man" now. Links are no longer created between different file types. Reviewed-by: Alan Coopersmith Reviewed-by: RĂ©mi Cardona Signed-off-by: Gaetan Nadon Signed-off-by: Keith Packard --- doc/man/Makefile.am | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'doc') diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index dd0851270..71d704917 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -2,19 +2,5 @@ # (i.e. those handled in the os/utils.c options processing instead of in # the DDX-level options processing) -appmandir = $(APP_MAN_DIR) +include $(top_srcdir)/manpages.am appman_PRE = Xserver.man -appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX)) - -EXTRA_DIST = $(appman_PRE) -CLEANFILES = $(appman_DATA) -SUFFIXES = .$(APP_MAN_SUFFIX) .man - -# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure -# 's|/,|/, |g' will add a space to help font path formatting -MAN_SUBSTS += -e 's|__datadir__|$(datadir)|g' \ - -e 's|__default_font_path__|$(COMPILEDDEFAULTFONTPATH)|g' \ - -e '\|$(COMPILEDDEFAULTFONTPATH)| s|/,|/, |g' - -.man.$(APP_MAN_SUFFIX): - $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ -- cgit v1.2.3