summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2006-08-31 18:15:16 +0000
committerSimon Howard2006-08-31 18:15:16 +0000
commit9f00f2023359b552bfe89accc977590d17bd170e (patch)
treeb7a7c4c18dcf9c4777cb884b03436d8177f41a7d
parentd99a3697be5d13343e0accfd3b01a196b36ef20e (diff)
downloadchocolate-doom-9f00f2023359b552bfe89accc977590d17bd170e.tar.gz
chocolate-doom-9f00f2023359b552bfe89accc977590d17bd170e.tar.bz2
chocolate-doom-9f00f2023359b552bfe89accc977590d17bd170e.zip
Add manual pages to build
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 587
-rw-r--r--configure.in1
-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 >>$@