ref: f6888492e04690de6431f56d73272e5e8e4fff17
parent: a83c12ef9e1cde566556a8cdac11d1ee56d28c5b
author: Simon Howard <[email protected]>
date: Tue Sep 4 19:50:56 EDT 2007
Fix build failure when python is not installed. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 969
--- 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)