summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am (renamed from man/Makefile)8
1 files changed, 7 insertions, 1 deletions
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 >>$@