/[cvs]/ccvs/doc/Makefile.am
ViewVC logotype

Diff of /ccvs/doc/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.38 by dprice, Mon Sep 26 16:48:02 2005 UTC revision 1.39 by dprice, Tue Sep 27 16:06:58 2005 UTC
# Line 28  PSS = \ Line 28  PSS = \
28    
29  PDFS = \  PDFS = \
30          cvs.pdf \          cvs.pdf \
31          cvs-paper.pdf \          $(srcdir)/cvs-paper.pdf \
32          cvsclient.pdf          cvsclient.pdf
33    
34  TXTS = \  TXTS = \
# Line 75  dvi: cvs.dvi cvsclient.dvi Line 75  dvi: cvs.dvi cvsclient.dvi
75  cvs.txt: cvs.texinfo $(srcdir)/version.texi  cvs.txt: cvs.texinfo $(srcdir)/version.texi
76  cvsclient.txt: cvsclient.texi $(srcdir)/version-client.texi  cvsclient.txt: cvsclient.texi $(srcdir)/version-client.texi
77    
78  # 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
79  # 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,
80  # 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
81  # contains less information (hyperlinks and such) than the usual texinfo source.  # .ps.pdf target and the PS source, which contains less information (hyperlinks
82    # and such) than the usual texinfo source.
83    #
84    # It is possible that an implicit .ms.ps target could be safely defined.  I
85    # don't recall looking into it.
86  cvs-paper.ps: cvs-paper.ms  cvs-paper.ps: cvs-paper.ms
87          $(ROFF) -t -p -ms -Tps $< > $@-t          $(ROFF) -t -p -ms -Tps $(srcdir)/cvs-paper.ms >cvs-paper.ps-t
88          mv $@-t $@          cp cvs-paper.ps-t $@
89            -@rm -f cvs-paper.ps-t
90    
91    # This rule introduces some redundancy, but `make distcheck' requires that
92    # Nothing in $(srcdir) be rebuilt, and this will always be rebuilt when it
93    # is dependant on cvs-paper.ps and cvs-paper.ps isn't distributed.
94    $(srcdir)/cvs-paper.pdf: cvs-paper.ms
95            $(ROFF) -t -p -ms -Tps $(srcdir)/cvs-paper.ms >cvs-paper.ps-t
96            ps2pdf cvs-paper.ps-t cvs-paper.pdf-t
97            cp cvs-paper.pdf-t $@
98            -@rm -f cvs-paper.pdf-t cvs-paper.ps-t
99    
100  cvs-paper.pdf: cvs-paper.ps  MOSTLYCLEANFILES += cvs-paper.pdf-t cvs-paper.ps-t
         ps2pdf $< $@  
101    
102  # Targets to build a man page from cvs.texinfo.  # Targets to build a man page from cvs.texinfo.
103  $(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

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26