26 |
|
|
27 |
PDFS = \ |
PDFS = \ |
28 |
cvs.pdf \ |
cvs.pdf \ |
29 |
cvs-paper.pdf \ |
$(srcdir)/cvs-paper.pdf \ |
30 |
cvsclient.pdf |
cvsclient.pdf |
31 |
|
|
32 |
TXTS = \ |
TXTS = \ |
44 |
cvs.man.footer \ |
cvs.man.footer \ |
45 |
$(PDFS) |
$(PDFS) |
46 |
|
|
47 |
|
MOSTLYCLEANFILES = |
48 |
|
|
49 |
CLEANFILES = \ |
CLEANFILES = \ |
50 |
$(PSS) \ |
$(PSS) \ |
51 |
$(TXTS) |
$(TXTS) |
69 |
cvs.txt: cvs.texinfo $(srcdir)/version.texi |
cvs.txt: cvs.texinfo $(srcdir)/version.texi |
70 |
cvsclient.txt: cvsclient.texi $(srcdir)/version-client.texi |
cvsclient.txt: cvsclient.texi $(srcdir)/version-client.texi |
71 |
|
|
72 |
# These targets need to be very specific so that the other PDFs get generated |
# The cvs-paper.pdf target needs to be very specific so that the other PDFs get |
73 |
# correctly. If they are more generic and cvs.ps is made before cvs.pdf, then |
# generated correctly. If a more generic .ps.pdf implicit target is defined, |
74 |
# cvs.pdf will be generated from the generic target and the PS source, which |
# and cvs.ps is made before cvs.pdf, then cvs.pdf can be generated from the |
75 |
# contains less information (hyperlinks and such) than the usual texinfo source. |
# .ps.pdf target and the PS source, which contains less information (hyperlinks |
76 |
|
# and such) than the usual texinfo source. |
77 |
|
# |
78 |
|
# It is possible that an implicit .ms.ps target could be safely defined. I |
79 |
|
# don't recall looking into it. |
80 |
cvs-paper.ps: cvs-paper.ms |
cvs-paper.ps: cvs-paper.ms |
81 |
$(ROFF) -t -p -ms -Tps $< > $@-t |
$(ROFF) -t -p -ms -Tps $(srcdir)/cvs-paper.ms >cvs-paper.ps-t |
82 |
mv $@-t $@ |
cp cvs-paper.ps-t $@ |
83 |
|
-@rm -f cvs-paper.ps-t |
84 |
|
|
85 |
|
# This rule introduces some redundancy, but `make distcheck' requires that |
86 |
|
# Nothing in $(srcdir) be rebuilt, and this will always be rebuilt when it |
87 |
|
# is dependant on cvs-paper.ps and cvs-paper.ps isn't distributed. |
88 |
|
$(srcdir)/cvs-paper.pdf: cvs-paper.ms |
89 |
|
$(ROFF) -t -p -ms -Tps $(srcdir)/cvs-paper.ms >cvs-paper.ps-t |
90 |
|
ps2pdf cvs-paper.ps-t cvs-paper.pdf-t |
91 |
|
cp cvs-paper.pdf-t $@ |
92 |
|
-@rm -f cvs-paper.pdf-t cvs-paper.ps-t |
93 |
|
|
94 |
cvs-paper.pdf: cvs-paper.ps |
MOSTLYCLEANFILES += cvs-paper.pdf-t cvs-paper.ps-t |
|
ps2pdf $< $@ |
|
95 |
|
|
96 |
# Targets to build a man page from cvs.texinfo. |
# Targets to build a man page from cvs.texinfo. |
97 |
$(srcdir)/cvs.1: @MAINTAINER_MODE_TRUE@ mkman cvs.man.header cvs.texinfo cvs.man.footer |
$(srcdir)/cvs.1: @MAINTAINER_MODE_TRUE@ mkman cvs.man.header cvs.texinfo cvs.man.footer |