diff options
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | man/Makefile.am (renamed from man/Makefile) | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in index db645a1c..7e4a44b9 100644 --- a/configure.in +++ b/configure.in @@ -54,6 +54,7 @@ Makefile textscreen/Makefile textscreen/examples/Makefile setup/Makefile +man/Makefile src/Makefile src/chocolate-doom-res.rc ]) diff --git a/man/Makefile b/man/Makefile.am index eb6ec29f..6a0c5965 100644 --- a/man/Makefile +++ b/man/Makefile.am @@ -1,5 +1,11 @@ -chocolate-doom.6: chocolate-doom-options.in head foot Makefile doom-options.in +MANPAGE_GEN_FILES=chocolate-doom-options.in head foot Makefile doom-options.in + +man_MANS=chocolate-doom.6 + +EXTRA_DIST = $(man_MANS) $(MANPAGE_GEN_FILES) + +chocolate-doom.6: $(MANPAGE_GEN_FILES) cp head $@ echo .SH DOOM OPTIONS >> $@ awk -F"\t" '{print ".TP\n\\fB"$$1"\\fR"; $$1=""; print }' < doom-options.in >>$@ |