diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-11-13 20:53:24 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-11-13 20:53:24 +0000 |
commit | 267cbffa41fffff69c692911d128462f5bab2a69 (patch) | |
tree | 3fe9df65c500052b59d04994b3b9bd6de273ee2f /hw/xfree86/utils/xorgcfg | |
parent | 3179d29b8212c197634d81fbeb8dd2e8df995735 (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/utils/xorgcfg')
-rw-r--r-- | hw/xfree86/utils/xorgcfg/Makefile.am | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/hw/xfree86/utils/xorgcfg/Makefile.am b/hw/xfree86/utils/xorgcfg/Makefile.am index 9bb38af0d..a496631c4 100644 --- a/hw/xfree86/utils/xorgcfg/Makefile.am +++ b/hw/xfree86/utils/xorgcfg/Makefile.am @@ -129,12 +129,21 @@ XOrgCfg: XOrgCfg.pre $(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < XOrgCfg.pre | $(CPP_SED_MAGIC) > $@ # Man page -man1_MANS = xorgcfg.man +appmandir = $(mandir)/man$(APP_MAN_SUFFIX) -all-local: $(man1_MANS) +appman_SOURCES = xorgcfg.man +appman_DATA = $(appman_SOURCES:man=@APP_MAN_SUFFIX@) + +all-local: $(appman_SOURCES) $(appman_DATA) EXTRA_DIST = $(XBM_DATA) $(XPM_DATA) XOrgCfg.pre xorgcfg.man.pre +BUILT_SOURCES = $(appman_SOURCES) +CLEANFILES = $(APPDEFAULTFILES) $(BUILT_SOURCES) $(appman_DATA) + +SUFFIXES += .$(APP_MAN_SUFFIX) .man -CLEANFILES = $(APPDEFAULTFILES) $(man1_MANS) +.man.$(APP_MAN_SUFFIX): + -rm -f $@ + $(LN_S) $< $@ endif |