From 9f00f2023359b552bfe89accc977590d17bd170e Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 31 Aug 2006 18:15:16 +0000 Subject: Add manual pages to build Subversion-branch: /trunk/chocolate-doom Subversion-revision: 587 --- man/Makefile | 8 -------- man/Makefile.am | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 8 deletions(-) delete mode 100644 man/Makefile create mode 100644 man/Makefile.am (limited to 'man') diff --git a/man/Makefile b/man/Makefile deleted file mode 100644 index eb6ec29f..00000000 --- a/man/Makefile +++ /dev/null @@ -1,8 +0,0 @@ - -chocolate-doom.6: chocolate-doom-options.in head foot Makefile doom-options.in - cp head $@ - echo .SH DOOM OPTIONS >> $@ - awk -F"\t" '{print ".TP\n\\fB"$$1"\\fR"; $$1=""; print }' < doom-options.in >>$@ - echo .SH CHOCOLATE\\-DOOM OPTIONS >> $@ - awk -F"\t" '{print ".TP\n\\fB"$$1"\\fR"; $$1=""; print }' < chocolate-doom-options.in >>$@ - m4 -DAUTHORS="`cat ../AUTHORS`" foot >> $@ diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 00000000..6a0c5965 --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1,14 @@ + +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 >>$@ + echo .SH CHOCOLATE\\-DOOM OPTIONS >> $@ + awk -F"\t" '{print ".TP\n\\fB"$$1"\\fR"; $$1=""; print }' < chocolate-doom-options.in >>$@ + m4 -DAUTHORS="`cat ../AUTHORS`" foot >> $@ -- cgit v1.2.3