diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2011-01-09 20:28:29 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-01-18 15:11:10 -0800 |
commit | 885a3330092c13786baa3aaabd728e71962486c4 (patch) | |
tree | 3e90e679ff48294c5861255a8c49036b96d1eacc /doc | |
parent | c86f7c2b8eedd3126066a3aff44bc8767eb5e277 (diff) |
man: refactor common code in the man pages makefiles
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 <alan.coopersmith@oracle.com>
Reviewed-by: RĂ©mi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/Makefile.am | 16 |
1 files changed, 1 insertions, 15 deletions
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) < $< > $@ |