summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2007-09-04 23:50:56 +0000
committerSimon Howard2007-09-04 23:50:56 +0000
commitf6888492e04690de6431f56d73272e5e8e4fff17 (patch)
tree57314b959ed9aa58519a279de897b14a8c401cec
parenta83c12ef9e1cde566556a8cdac11d1ee56d28c5b (diff)
downloadchocolate-doom-f6888492e04690de6431f56d73272e5e8e4fff17.tar.gz
chocolate-doom-f6888492e04690de6431f56d73272e5e8e4fff17.tar.bz2
chocolate-doom-f6888492e04690de6431f56d73272e5e8e4fff17.zip
Fix build failure when python is not installed.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 969
-rw-r--r--man/Makefile.am9
1 files changed, 4 insertions, 5 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 6bae790b..d6cbb89c 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,15 +1,14 @@
MANPAGE_GEN_FILES=header footer docgen
-man_MANS=chocolate-doom.6
-
-EXTRA_DIST = $(man_MANS) $(MANPAGE_GEN_FILES)
-
-
if HAVE_PYTHON
+man_MANS=chocolate-doom.6
+
chocolate-doom.6: ../src $(MANPAGE_GEN_FILES)
./docgen -m ../src > $@
endif
+EXTRA_DIST = $(man_MANS) $(MANPAGE_GEN_FILES)
+