[Python-checkins] CVS: python/dist/src/Doc Makefile,1.229,1.230 Makefile.deps,1.77,1.78

Fred L. Drake fdrake@users.sourceforge.net
Mon, 29 Oct 2001 09:40:43 -0800


Update of /cvsroot/python/python/dist/src/Doc
In directory usw-pr-cvs1:/tmp/cvs-serv9315

Modified Files:
	Makefile Makefile.deps 
Log Message:
Make sure we generate versions of each file in the Python/C API manual with
reference-count annotations; this is needed for the typeset forms of the
manuals.


Index: Makefile
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/Makefile,v
retrieving revision 1.229
retrieving revision 1.230
diff -C2 -d -r1.229 -r1.230
*** Makefile	2001/10/25 15:12:31	1.229
--- Makefile	2001/10/29 17:40:40	1.230
***************
*** 147,150 ****
--- 147,152 ----
  COMMONPERL= perl/manual.perl perl/python.perl perl/l2hinit.perl
  
+ ANNOAPI=api/refcounts.dat tools/anno-api.py
+ 
  include Makefile.deps
  
***************
*** 174,185 ****
  # Targets for each document:
  # Python/C API Reference Manual
! paper-$(PAPER)/api.dvi: paper-$(PAPER)/api.tex $(APIFILES)
  	cd paper-$(PAPER) && $(MKDVI) api.tex
  
! paper-$(PAPER)/api.pdf: paper-$(PAPER)/api.tex $(APIFILES)
  	cd paper-$(PAPER) && $(MKPDF) api.tex
  
! paper-$(PAPER)/api.tex: api/api.tex api/refcounts.dat tools/anno-api.py
  	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/api.tex
  
  # Distributing Python Modules
--- 176,217 ----
  # Targets for each document:
  # Python/C API Reference Manual
! paper-$(PAPER)/api.dvi: $(ANNOAPIFILES)
  	cd paper-$(PAPER) && $(MKDVI) api.tex
  
! paper-$(PAPER)/api.pdf: $(ANNOAPIFILES)
  	cd paper-$(PAPER) && $(MKPDF) api.tex
  
! paper-$(PAPER)/api.tex: api/api.tex $(ANNOAPI)
  	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/api.tex
+ 
+ paper-$(PAPER)/abstract.tex: api/abstract.tex $(ANNOAPI)
+ 	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/abstract.tex
+ 
+ paper-$(PAPER)/concrete.tex: api/concrete.tex $(ANNOAPI)
+ 	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/concrete.tex
+ 
+ paper-$(PAPER)/exceptions.tex: api/exceptions.tex $(ANNOAPI)
+ 	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/exceptions.tex
+ 
+ paper-$(PAPER)/init.tex: api/init.tex $(ANNOAPI)
+ 	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/init.tex
+ 
+ paper-$(PAPER)/intro.tex: api/intro.tex $(ANNOAPI)
+ 	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/intro.tex
+ 
+ paper-$(PAPER)/memory.tex: api/memory.tex $(ANNOAPI)
+ 	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/memory.tex
+ 
+ paper-$(PAPER)/newtypes.tex: api/newtypes.tex $(ANNOAPI)
+ 	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/newtypes.tex
+ 
+ paper-$(PAPER)/refcounting.tex: api/refcounting.tex $(ANNOAPI)
+ 	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/refcounting.tex
+ 
+ paper-$(PAPER)/utilities.tex: api/utilities.tex $(ANNOAPI)
+ 	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/utilities.tex
+ 
+ paper-$(PAPER)/veryhigh.tex: api/veryhigh.tex $(ANNOAPI)
+ 	$(PYTHON) $(TOOLSDIR)/anno-api.py -o $@ api/veryhigh.tex
  
  # Distributing Python Modules

Index: Makefile.deps
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/Makefile.deps,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** Makefile.deps	2001/10/12 19:02:35	1.77
--- Makefile.deps	2001/10/29 17:40:40	1.78
***************
*** 32,35 ****
--- 32,52 ----
  	texinputs/reportingbugs.tex
  
+ # These files are generated from those listed above, and are used to
+ # generate the typeset versions of the manuals.  The list is defined
+ # here to make it easier to ensure parallelism.
+ ANNOAPIFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
+ 	paper-$(PAPER)/api.tex \
+ 	paper-$(PAPER)/abstract.tex \
+ 	paper-$(PAPER)/concrete.tex \
+ 	paper-$(PAPER)/exceptions.tex \
+ 	paper-$(PAPER)/init.tex \
+ 	paper-$(PAPER)/intro.tex \
+ 	paper-$(PAPER)/memory.tex \
+ 	paper-$(PAPER)/newtypes.tex \
+ 	paper-$(PAPER)/refcounting.tex \
+ 	paper-$(PAPER)/utilities.tex \
+ 	paper-$(PAPER)/veryhigh.tex \
+ 	texinputs/reportingbugs.tex
+ 
  DOCFILES= $(HOWTOSTYLES) \
  	texinputs/boilerplate.tex \