summaryrefslogtreecommitdiff
path: root/man/Makefile.am
diff options
context:
space:
mode:
authorJan Engelhardt2013-12-10 16:59:42 +0100
committerJan Engelhardt2013-12-10 16:59:42 +0100
commitd44fdfaeee2f4be129c0e2d87ba460fc308e4274 (patch)
treeabcd8eb003221b33ada538e64f48c4cd69744105 /man/Makefile.am
parente6deb55e1154a77953c0cc69f79fdea8108f5da6 (diff)
downloadchocolate-doom-d44fdfaeee2f4be129c0e2d87ba460fc308e4274.tar.gz
chocolate-doom-d44fdfaeee2f4be129c0e2d87ba460fc308e4274.tar.bz2
chocolate-doom-d44fdfaeee2f4be129c0e2d87ba460fc308e4274.zip
build: fix not-honored --docdir setting
Despite using `./configure --docdir=XYZ` and/or `make docdir=XYZ`, the directory is ignored. Resolve that problem.
Diffstat (limited to 'man/Makefile.am')
-rw-r--r--man/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 5ce28ff8..8716d6d4 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -8,10 +8,10 @@ MANPAGE_GEN_FILES = environ.man \
default.cfg.template \
extra.cfg.template
-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
+doomdocsdir = ${docdir}/../${PROGRAM_PREFIX}doom
+hereticdocsdir = ${docdir}/../${PROGRAM_PREFIX}heretic
+hexendocsdir = ${docdir}/../${PROGRAM_PREFIX}hexen
+strifedocsdir = ${docdir}/../${PROGRAM_PREFIX}strife
if HAVE_PYTHON