From 85a709203c997834db1cbd8b4d6a979197306111 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 2 May 2007 02:03:44 +0000 Subject: Check in autoconf if python is installed; if not, don't run python scripts. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 873 --- man/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'man') 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 + -- cgit v1.2.3