From f23defeef285b4a5bb58405589294bd557c9bb01 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 3 Nov 2005 16:57:01 +0000 Subject: Use APP_MAN_SUFFIX for Xserver man page instead of hardcoding section 1 --- doc/Makefile.am | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index 94cc964a8..88a1b9dca 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,18 +1,25 @@ +appmandir = $(mandir)/man$(APP_MAN_SUFFIX) + # Xserver.man covers options generic to all X servers built in this tree -MAN_SRCS = Xserver.man.pre +appman_SOURCES = Xserver.man.pre + +appman_PROCESSED = $(appman_SOURCES:man.pre=man) -man1_MANS = Xserver.man +appman_DATA = $(appman_SOURCES:man.pre=@APP_MAN_SUFFIX@) -all-local: $(man1_MANS) +BUILT_SOURCES = $(appman_PROCESSED) -CLEANFILES = $(man1_MANS) +CLEANFILES = $(appman_PROCESSED) $(appman_DATA) include $(top_srcdir)/cpprules.in +.man.$(APP_MAN_SUFFIX): + cp $< $@ + EXTRAMANDEFS = -D__default_font_path__="`echo $(COMPILEDDEFAULTFONTPATH) | sed -e 's/,/, /g'`" # Docs about X server internals that we ship with source but don't install DEVEL_DOCS = smartsched -EXTRA_DIST = $(DEVEL_DOCS) $(MAN_SRCS) \ No newline at end of file +EXTRA_DIST = $(DEVEL_DOCS) $(appman_SOURCES) -- cgit v1.2.3