summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorSimon Howard2007-05-02 02:03:44 +0000
committerSimon Howard2007-05-02 02:03:44 +0000
commit85a709203c997834db1cbd8b4d6a979197306111 (patch)
tree2890a3f24f004d5cf6979a780d647ba72e759944 /man
parentd3d5b27ce6830ee2c41256bef2c9b7fc041cfa04 (diff)
downloadchocolate-doom-85a709203c997834db1cbd8b4d6a979197306111.tar.gz
chocolate-doom-85a709203c997834db1cbd8b4d6a979197306111.tar.bz2
chocolate-doom-85a709203c997834db1cbd8b4d6a979197306111.zip
Check in autoconf if python is installed; if not, don't run python
scripts. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 873
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 91880e50..6bae790b 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -5,6 +5,11 @@ man_MANS=chocolate-doom.6
EXTRA_DIST = $(man_MANS) $(MANPAGE_GEN_FILES)
+
+if HAVE_PYTHON
+
chocolate-doom.6: ../src $(MANPAGE_GEN_FILES)
./docgen -m ../src > $@
+endif
+