summaryrefslogtreecommitdiffstats
path: root/Doc/paper-letter
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/paper-letter')
-rw-r--r--Doc/paper-letter/.cvsignore1
-rw-r--r--Doc/paper-letter/Makefile11
2 files changed, 8 insertions, 4 deletions
diff --git a/Doc/paper-letter/.cvsignore b/Doc/paper-letter/.cvsignore
index 31923f4..90687b6 100644
--- a/Doc/paper-letter/.cvsignore
+++ b/Doc/paper-letter/.cvsignore
@@ -13,3 +13,4 @@
*.l2h
*.how
README
+api.tex
diff --git a/Doc/paper-letter/Makefile b/Doc/paper-letter/Makefile
index a87653b..50067c3 100644
--- a/Doc/paper-letter/Makefile
+++ b/Doc/paper-letter/Makefile
@@ -58,17 +58,20 @@ pdf: $(PDFFILES)
ps: $(PSFILES)
-README: $(PSFILES)
+README: $(PSFILES) $(TOOLSDIR)/getpagecounts
$(TOOLSDIR)/getpagecounts >$@
# Python/C API Reference Manual
-api.dvi: $(APIFILES)
+api.dvi: api.tex $(APIFILES)
$(MKDVI) api
-api.pdf: $(APIFILES)
+api.pdf: api.tex $(APIFILES)
$(MKPDF) api
+api.tex: ../api/api.tex ../api/refcounts.dat ../tools/anno-api.py
+ $(PYTHON) ../tools/anno-api.py -o $@ ../api/api.tex
+
# Documenting Python
doc.dvi: $(DOCFILES)
$(MKHOWTO) --dvi ../doc/doc.tex
@@ -113,7 +116,7 @@ tut.pdf: $(TUTFILES)
clean:
- rm -f *~ *.aux *.idx *.ilg *.ind *.log *.toc *.bkm *.syn *.pla
+ rm -f *~ *.aux *.idx *.ilg *.ind *.log *.toc *.bkm *.syn *.pla api.tex
clobber: clean
rm -f $(DVIFILES) $(PSFILES) $(PDFFILES)