1 ## Process this file with automake to produce Makefile.in
2 # Makefile for GNU CVS documentation (excluding man pages - see ../man).
3 # Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
4 # 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5 # Free Software Foundation, Inc.
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 info_TEXINFOS = cvs.texinfo cvsclient.texi
48 # These Automake generates MOSTLYCLEAN targets for PostScripts genersted from
49 # TEXINFOS, but it shouldn't when those files are in EXTRA_DIST
50 MAINTAINERCLEANFILES = \
59 dvi: cvs.dvi cvsclient.dvi
63 # For some reason if I remove version.texi, it doesn't get built automatically.
64 # This needs to be fixed in automake.
65 cvs.txt: cvs.texinfo $(srcdir)/version.texi
66 cvsclient.txt: cvsclient.texi $(srcdir)/version-client.texi
68 # These targets need to be very specific so that the other PDFs get generated
69 # correctly. If they are more generic and cvs.ps is made before cvs.pdf, then
70 # cvs.pdf will be generated from the generic target and the PS source, which
71 # contains less information (hyperlinks and such) than the usual texinfo source.
72 cvs-paper.ps: cvs-paper.ms
73 $(ROFF) -t -p -ms -Tps $< > $@-t
76 cvs-paper.pdf: cvs-paper.ps
79 # Targets to build a man page from cvs.texinfo.
80 cvs.1: @MAINTAINER_MODE_TRUE@ mkman cvs.man.header cvs.texinfo cvs.man.footer
81 ./mkman $(srcdir)/cvs.man.header $(srcdir)/cvs.texinfo \
82 $(srcdir)/cvs.man.footer >$@
84 # texinfo based targets automake neglects to include
87 $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
88 --no-headers -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
90 $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
91 --no-headers -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
93 $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
94 --no-headers -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
100 # for backwards compatibility with the old makefiles
101 realclean: maintainer-clean