From 267cbffa41fffff69c692911d128462f5bab2a69 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 13 Nov 2005 20:53:24 +0000 Subject: Bug #5019 xserver installs manpages into 'man1' instead of 'man1x' --- Xprint/doc/Makefile.am | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'Xprint') diff --git a/Xprint/doc/Makefile.am b/Xprint/doc/Makefile.am index 5c7faef1a..348d3aec6 100644 --- a/Xprint/doc/Makefile.am +++ b/Xprint/doc/Makefile.am @@ -1,11 +1,19 @@ MAN_SRCS = Xprt.man.pre -man1_MANS = Xprt.man +appmandir = $(mandir)/man$(APP_MAN_SUFFIX) -all-local: $(man1_MANS) - -CLEANFILES = $(man1_MANS) +appman_SOURCES = Xprt.man +appman_DATA = $(appman_SOURCES:man=@APP_MAN_SUFFIX@) include $(top_srcdir)/cpprules.in -EXTRA_DIST = $(MAN_SRCS) Xprt.html Xprt.sgml \ No newline at end of file +BUILT_SOURCES = $(appman_SOURCES) +CLEANFILES = $(appman_SOURCES) $(appman_DATA) + +SUFFIXES += .$(APP_MAN_SUFFIX) .man + +.man.$(APP_MAN_SUFFIX): + -rm -f $@ + $(LN_S) $< $@ + +EXTRA_DIST = $(MAN_SRCS) Xprt.html Xprt.sgml -- cgit v1.2.3