summaryrefslogtreecommitdiff
path: root/man/Makefile.am
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2017-01-16 16:21:37 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2017-02-08 09:02:36 -0800
commit4743378ccf1defe5984ad71797283b98029aa920 (patch)
treea1e1b38f4c012184d91cb70e70a35cd693033e50 /man/Makefile.am
parent53a781392bdd785db8a12572a7323de35a16d896 (diff)
Install xdm man pages under admin section (8), not user programs (1)
As best I can tell, it was historically under section 1 mainly because the old X Consortium Imake configs only supported installing program man pages there, and didn't have an option for using other sections. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'man/Makefile.am')
-rw-r--r--man/Makefile.am20
1 files changed, 10 insertions, 10 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index b71409c..2a42d89 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -21,22 +21,22 @@
# DEALINGS IN THE SOFTWARE.
#
-appmandir = $(APP_MAN_DIR)
-appman_PRE = xdm.man
-appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX))
+adminmandir = $(ADMIN_MAN_DIR)
+adminman_PRE = xdm.man
+adminman_DATA = $(adminman_PRE:man=$(ADMIN_MAN_SUFFIX))
-xdmlmandir = $(APP_MAN_DIR)
+xdmlmandir = $(ADMIN_MAN_DIR)
xdmlman_PRE = xdmshell.man
if INSTALL_XDMSHELL
-xdmlman_DATA = $(xdmlman_PRE:man=$(APP_MAN_SUFFIX))
+xdmlman_DATA = $(xdmlman_PRE:man=$(ADMIN_MAN_SUFFIX))
else
-noinst_DATA = $(xdmlman_PRE:man=$(APP_MAN_SUFFIX))
+noinst_DATA = $(xdmlman_PRE:man=$(ADMIN_MAN_SUFFIX))
endif
-EXTRA_DIST = $(appman_PRE) $(xdmlman_PRE)
-CLEANFILES = $(appman_DATA) $(xdmlman_DATA) $(noinst_DATA)
-SUFFIXES = .$(APP_MAN_SUFFIX) .man
+EXTRA_DIST = $(adminman_PRE) $(xdmlman_PRE)
+CLEANFILES = $(adminman_DATA) $(xdmlman_DATA) $(noinst_DATA)
+SUFFIXES = .$(ADMIN_MAN_SUFFIX) .man
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
MAN_SUBSTS += -e 's|CHOOSERPATH|$(XDMLIBDIR)/chooser|g' \
@@ -51,5 +51,5 @@ MAN_SUBSTS += -e 's|CHOOSERPATH|$(XDMLIBDIR)/chooser|g' \
-e 's|DEV_RANDOM|$(DEV_RANDOM)|g' \
-e 's|ARC4_RANDOM|$(HAVE_ARC4RANDOM)|g'
-.man.$(APP_MAN_SUFFIX):
+.man.$(ADMIN_MAN_SUFFIX):
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@