summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorSimon Howard2013-09-21 04:35:48 +0000
committerSimon Howard2013-09-21 04:35:48 +0000
commita853a1ef6298dbd7b99d486a0799d5df45181a56 (patch)
tree9397430cad870bc58988ea193a030fb59207279e /man
parent9330b5da4b43dba0fa659f6a698170e90814b86e (diff)
downloadchocolate-doom-a853a1ef6298dbd7b99d486a0799d5df45181a56.tar.gz
chocolate-doom-a853a1ef6298dbd7b99d486a0799d5df45181a56.tar.bz2
chocolate-doom-a853a1ef6298dbd7b99d486a0799d5df45181a56.zip
Install documentation files into separate directories, one for each
game. This will allow for easier Unix packaging. Subversion-branch: /branches/v2-branch Subversion-revision: 2672
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am44
1 files changed, 23 insertions, 21 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 17ffbe22..a6cabbaa 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -8,30 +8,32 @@ MANPAGE_GEN_FILES=\
default.cfg.template \
extra.cfg.template
-docdir=$(prefix)/share/doc/@PACKAGE@
+doomdocsdir = $(prefix)/share/doc/@PROGRAM_PREFIX@doom
+hereticdocsdir = $(prefix)/share/doc/@PROGRAM_PREFIX@heretic
+hexendocsdir = $(prefix)/share/doc/@PROGRAM_PREFIX@hexen
+strifedocsdir = $(prefix)/share/doc/@PROGRAM_PREFIX@strife
if HAVE_PYTHON
-man_MANS=chocolate-server.6 \
- chocolate-setup.6 \
- chocolate-doom.6 \
- default.cfg.5 \
- chocolate-doom.cfg.5 \
- chocolate-heretic.6 \
- heretic.cfg.5 \
- chocolate-heretic.cfg.5 \
- chocolate-hexen.6 \
- hexen.cfg.5 \
- chocolate-hexen.cfg.5 \
- chocolate-strife.6 \
- strife.cfg.5 \
- chocolate-strife.cfg.5
-
-nodist_doc_DATA=INSTALL \
- INSTALL.doom INSTALL.heretic INSTALL.hexen INSTALL.strife \
- CMDLINE.doom CMDLINE.heretic CMDLINE.hexen CMDLINE.strife
-
-
+man_MANS = chocolate-server.6 \
+ chocolate-setup.6 \
+ chocolate-doom.6 \
+ default.cfg.5 \
+ chocolate-doom.cfg.5 \
+ chocolate-heretic.6 \
+ heretic.cfg.5 \
+ chocolate-heretic.cfg.5 \
+ chocolate-hexen.6 \
+ hexen.cfg.5 \
+ chocolate-hexen.cfg.5 \
+ chocolate-strife.6 \
+ strife.cfg.5 \
+ chocolate-strife.cfg.5
+
+doomdocs_DATA = INSTALL.doom CMDLINE.doom
+hereticdocs_DATA = INSTALL.heretic CMDLINE.heretic
+hexendocs_DATA = INSTALL.hexen CMDLINE.hexen
+strifedocs_DATA = INSTALL.strife CMDLINE.strife
chocolate-doom.6: ../src $(MANPAGE_GEN_FILES)
./docgen -g doom -m doom.template ../src ../src/doom > $@