summaryrefslogtreecommitdiff
path: root/Xprint
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-11-13 20:53:24 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-11-13 20:53:24 +0000
commit267cbffa41fffff69c692911d128462f5bab2a69 (patch)
tree3fe9df65c500052b59d04994b3b9bd6de273ee2f /Xprint
parent3179d29b8212c197634d81fbeb8dd2e8df995735 (diff)
Bug #5019 <https://bugs.freedesktop.org/show_bug.cgi?id=5019> xserver
installs manpages into 'man1' instead of 'man1x'
Diffstat (limited to 'Xprint')
-rw-r--r--Xprint/doc/Makefile.am18
1 files changed, 13 insertions, 5 deletions
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