summaryrefslogtreecommitdiff
path: root/man/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'man/Makefile.am')
-rw-r--r--man/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 698c0862..abfe76fd 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,6 +1,8 @@
MANPAGE_GEN_FILES=manpage.template docgen default.cfg.template extra.cfg.template
+docdir=$(prefix)/share/doc/@PACKAGE@
+
if HAVE_PYTHON
man_MANS=chocolate-doom.6 \
@@ -9,6 +11,8 @@ man_MANS=chocolate-doom.6 \
default.cfg.5 \
$(PACKAGE).cfg.5
+nodist_doc_DATA=INSTALL
+
chocolate-doom.6: ../src $(MANPAGE_GEN_FILES)
./docgen -m manpage.template ../src > $@
@@ -18,9 +22,14 @@ default.cfg.5: ../src default.cfg.template
$(PACKAGE).cfg.5: ../src extra.cfg.template
./docgen -m extra.cfg.template -c $(PACKAGE).cfg ../src > $@
+INSTALL:
+ ./simplecpp -DPRECOMPILED < INSTALL.template > $@
+
endif
EXTRA_DIST = $(man_MANS) $(MANPAGE_GEN_FILES) \
wikipages \
- CMDLINE.template
+ CMDLINE.template \
+ INSTALL.template \
+ simplecpp