summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/doc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cvs/doc/Makefile.am')
-rw-r--r--contrib/cvs/doc/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/contrib/cvs/doc/Makefile.am b/contrib/cvs/doc/Makefile.am
index a600fc7..087cc30 100644
--- a/contrib/cvs/doc/Makefile.am
+++ b/contrib/cvs/doc/Makefile.am
@@ -15,6 +15,7 @@
# GNU General Public License for more details.
info_TEXINFOS = cvs.texinfo cvsclient.texi
+man_MANS = cvs.1
PSS = \
cvs.ps \
@@ -36,7 +37,10 @@ EXTRA_DIST = \
ChangeLog.fsf \
RCSFILES \
mdate-sh \
- cvs-paper.ms
+ cvs.1 \
+ cvs-paper.ms \
+ cvs.man.header \
+ cvs.man.footer
MOSTLYCLEANFILES = \
$(TXTS)
@@ -72,9 +76,13 @@ cvs-paper.ps: cvs-paper.ms
cvs-paper.pdf: cvs-paper.ps
ps2pdf $< $@
-SUFFIXES = .txt
+# Targets to build a man page from cvs.texinfo.
+cvs.1: @MAINTAINER_MODE_TRUE@ mkman cvs.man.header cvs.texinfo cvs.man.footer
+ ./mkman $(srcdir)/cvs.man.header $(srcdir)/cvs.texinfo \
+ $(srcdir)/cvs.man.footer >$@
# texinfo based targets automake neglects to include
+SUFFIXES = .txt
.texinfo.txt:
$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
--no-headers -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
OpenPOWER on IntegriCloud