From f6888492e04690de6431f56d73272e5e8e4fff17 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 4 Sep 2007 23:50:56 +0000 Subject: Fix build failure when python is not installed. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 969 --- man/Makefile.am | 9 ++++----- 1 file 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) + -- cgit v1.2.3