diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile.am | 9 |
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) + |