summaryrefslogtreecommitdiff
path: root/hw/xfree86/doc
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 /hw/xfree86/doc
parent3179d29b8212c197634d81fbeb8dd2e8df995735 (diff)
Bug #5019 <https://bugs.freedesktop.org/show_bug.cgi?id=5019> xserver
installs manpages into 'man1' instead of 'man1x'
Diffstat (limited to 'hw/xfree86/doc')
-rw-r--r--hw/xfree86/doc/man/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/hw/xfree86/doc/man/Makefile.am b/hw/xfree86/doc/man/Makefile.am
index cdb4ec14e..0b7020eb8 100644
--- a/hw/xfree86/doc/man/Makefile.am
+++ b/hw/xfree86/doc/man/Makefile.am
@@ -1,11 +1,16 @@
# Xserver.man covers options generic to all X servers built in this tree
MAN_SRCS = Xorg.man.pre xorg.conf.man.pre
-man1_MANS = Xorg.man
+appmandir = $(mandir)/man$(APP_MAN_SUFFIX)
+appman_DATA = Xorg.$(APP_MAN_SUFFIX)
filemandir = $(mandir)/man$(FILE_MAN_SUFFIX)
fileman_DATA = xorg.conf.$(FILE_MAN_SUFFIX)
+Xorg.$(APP_MAN_SUFFIX): Xorg.man
+ -rm -f Xorg.$(APP_MAN_SUFFIX)
+ $(LN_S) Xorg.man Xorg.$(APP_MAN_SUFFIX)
+
xorg.conf.$(FILE_MAN_SUFFIX): xorg.conf.man
-rm -f xorg.conf.$(FILE_MAN_SUFFIX)
$(LN_S) xorg.conf.man xorg.conf.$(FILE_MAN_SUFFIX)
@@ -14,6 +19,6 @@ include $(top_srcdir)/cpprules.in
EXTRAMANDEFS = -D__logdir__=$(logdir)
-CLEANFILES = $(man1_MANS) $(fileman_DATA) xorg.conf.man
+CLEANFILES = $(appman_DATA) $(fileman_DATA) xorg.conf.man Xorg.man
EXTRA_DIST = $(MAN_SRCS)