freebsd-dev/contrib/cvs/doc/Makefile.am

95 lines
2.6 KiB
Makefile
Raw Normal View History

2001-08-10 09:43:22 +00:00
## Process this file with automake to produce Makefile.in
# Makefile for GNU CVS documentation (excluding man pages - see ../man).
2004-04-15 01:01:56 +00:00
# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
# 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
# Free Software Foundation, Inc.
2001-08-10 09:43:22 +00:00
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
info_TEXINFOS = cvs.texinfo cvsclient.texi
2004-04-15 01:01:56 +00:00
PSS = \
2001-08-10 09:43:22 +00:00
cvs.ps \
cvs-paper.ps \
cvsclient.ps
PDFS = \
cvs.pdf \
2004-04-15 01:01:56 +00:00
cvs-paper.pdf \
2001-08-10 09:43:22 +00:00
cvsclient.pdf
TXTS = \
cvs.txt \
cvsclient.txt
EXTRA_DIST = \
2004-04-15 01:01:56 +00:00
$(PSS) \
2001-08-10 09:43:22 +00:00
.cvsignore \
ChangeLog.fsf \
RCSFILES \
mdate-sh \
cvs-paper.ms
2001-08-10 09:43:22 +00:00
2004-04-15 01:01:56 +00:00
MOSTLYCLEANFILES = \
2001-08-10 09:43:22 +00:00
$(TXTS)
2004-04-15 01:01:56 +00:00
# These Automake generates MOSTLYCLEAN targets for PostScripts genersted from
# TEXINFOS, but it shouldn't when those files are in EXTRA_DIST
2001-08-10 09:43:22 +00:00
MAINTAINERCLEANFILES = \
2004-04-15 01:01:56 +00:00
$(PSS)
2001-08-10 09:43:22 +00:00
2004-04-15 01:01:56 +00:00
doc: info ps
.PHONY: doc
2001-08-10 09:43:22 +00:00
txt: $(TXTS)
.PHONY: txt
dvi: cvs.dvi cvsclient.dvi
.PHONY: dvi
# FIXME-AUTOMAKE:
# For some reason if I remove version.texi, it doesn't get built automatically.
# This needs to be fixed in automake.
2004-04-15 01:01:56 +00:00
cvs.txt: cvs.texinfo $(srcdir)/version.texi
cvsclient.txt: cvsclient.texi $(srcdir)/version-client.texi
2001-08-10 09:43:22 +00:00
# These targets need to be very specific so that the other PDFs get generated
# correctly. If they are more generic and cvs.ps is made before cvs.pdf, then
# cvs.pdf will be generated from the generic target and the PS source, which
# contains less information (hyperlinks and such) than the usual texinfo source.
cvs-paper.ps: cvs-paper.ms
2001-08-10 09:43:22 +00:00
$(ROFF) -t -p -ms -Tps $< > $@-t
mv $@-t $@
cvs-paper.pdf: cvs-paper.ps
2004-04-15 01:01:56 +00:00
ps2pdf $< $@
2001-08-10 09:43:22 +00:00
2004-04-15 01:01:56 +00:00
SUFFIXES = .txt
2001-08-10 09:43:22 +00:00
# texinfo based targets automake neglects to include
.texinfo.txt:
2004-04-15 01:01:56 +00:00
$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
--no-headers -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
2001-08-10 09:43:22 +00:00
.txi.txt:
2004-04-15 01:01:56 +00:00
$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
--no-headers -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
2001-08-10 09:43:22 +00:00
.texi.txt:
2004-04-15 01:01:56 +00:00
$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
--no-headers -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
2001-08-10 09:43:22 +00:00
##
2001-08-10 09:43:22 +00:00
## MAINTAINER Targets
##
2001-08-10 09:43:22 +00:00
# for backwards compatibility with the old makefiles
realclean: maintainer-clean
.PHONY: realclean