Added 'inst' and 'dist' -- the two Distutils manuals.

This commit is contained in:
Greg Ward 2000-04-28 16:53:36 +00:00
parent a2ace6ae25
commit 0862f800d0
4 changed files with 50 additions and 4 deletions

View file

@ -11,6 +11,8 @@
# mac -- Macintosh Library Modules # mac -- Macintosh Library Modules
# ref -- Python Reference Manual # ref -- Python Reference Manual
# tut -- Python Tutorial # tut -- Python Tutorial
# inst -- Installing Python Modules
# dist -- Distributing Python Modules
# #
# The latex sources for each of these documents are in subdirectories # The latex sources for each of these documents are in subdirectories
# with the three-letter designations above as the directory names. # with the three-letter designations above as the directory names.
@ -64,7 +66,7 @@ RELEASE=1.6a2
# These must be declared phony since there # These must be declared phony since there
# are directories with matching names: # are directories with matching names:
.PHONY: api doc ext lib mac ref tut .PHONY: api doc ext lib mac ref tut inst dist
.PHONY: html info longhtml .PHONY: html info longhtml
@ -105,6 +107,12 @@ ref ref.ps:
tut tut.ps: tut tut.ps:
(cd paper-$(PAPER); $(MAKE) tut.ps) (cd paper-$(PAPER); $(MAKE) tut.ps)
inst inst.ps:
(cd paper-$(PAPER); $(MAKE) inst.ps)
dist dist.ps:
(cd paper-$(PAPER); $(MAKE) dist.ps)
api.dvi: api.dvi:
(cd paper-$(PAPER); $(MAKE) api.dvi) (cd paper-$(PAPER); $(MAKE) api.dvi)
@ -127,6 +135,12 @@ ref.dvi:
tut.dvi: tut.dvi:
(cd paper-$(PAPER); $(MAKE) tut.dvi) (cd paper-$(PAPER); $(MAKE) tut.dvi)
inst.dvi:
(cd paper-$(PAPER); $(MAKE) inst.dvi)
dist.dvi:
(cd paper-$(PAPER); $(MAKE) dist.dvi)
api.pdf: api.pdf:
(cd paper-$(PAPER); $(MAKE) api.pdf) (cd paper-$(PAPER); $(MAKE) api.pdf)
@ -149,6 +163,12 @@ ref.pdf:
tut.pdf: tut.pdf:
(cd paper-$(PAPER); $(MAKE) tut.pdf) (cd paper-$(PAPER); $(MAKE) tut.pdf)
inst.pdf:
(cd paper-$(PAPER); $(MAKE) inst.pdf)
dist.pdf:
(cd paper-$(PAPER); $(MAKE) dist.pdf)
# The remaining part of the Makefile is concerned with various # The remaining part of the Makefile is concerned with various
# conversions, as described above. See also the README file. # conversions, as described above. See also the README file.
@ -196,6 +216,12 @@ htmlref:
htmltut: htmltut:
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile tut) (cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile tut)
htmlinst:
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile inst)
htmldist:
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile dist)
longhtml: longhtml:
(cd longhtml; $(MAKE) PAPER=$(PAPER)) (cd longhtml; $(MAKE) PAPER=$(PAPER))

View file

@ -244,3 +244,7 @@ MACFILES= $(HOWTOSTYLES) $(COMMONTEX) \
../mac/libmacic.tex \ ../mac/libmacic.tex \
../mac/libframework.tex \ ../mac/libframework.tex \
../mac/libminiae.tex ../mac/libminiae.tex
INSTFILES = $(HOWTOSTYLES) $(COMMONTEX) ../inst/inst.tex
DISTFILES = $(HOWTOSTYLES) $(COMMONTEX) ../dist/dist.tex

View file

@ -20,6 +20,8 @@ The following are the LaTeX source files:
mac/*.tex Macintosh Library Modules mac/*.tex Macintosh Library Modules
ref/*.tex Python Reference Manual ref/*.tex Python Reference Manual
tut/*.tex Python Tutorial tut/*.tex Python Tutorial
inst/*.tex Installing Python Modules
dist/*.tex Distributing Python Modules
Most use the "manual" document class and "python" package, derived from Most use the "manual" document class and "python" package, derived from
the old "myformat.sty" style file. The Macintosh Library Modules the old "myformat.sty" style file. The Macintosh Library Modules

View file

@ -20,13 +20,13 @@ MKPDF= TEXINPUTS=$(TEXINPUTS) $(TOOLSDIR)/mkdvi.sh --pdf
# what's what # what's what
MANDVIFILES= api.dvi ext.dvi lib.dvi ref.dvi tut.dvi MANDVIFILES= api.dvi ext.dvi lib.dvi ref.dvi tut.dvi
HOWTODVIFILES= doc.dvi mac.dvi HOWTODVIFILES= doc.dvi mac.dvi inst.dvi dist.dvi
MANPDFFILES= api.pdf ext.pdf lib.pdf ref.pdf tut.pdf MANPDFFILES= api.pdf ext.pdf lib.pdf ref.pdf tut.pdf
HOWTOPDFFILES= doc.pdf mac.pdf HOWTOPDFFILES= doc.pdf mac.pdf inst.pdf dist.pdf
MANPSFILES= api.ps ext.ps lib.ps ref.ps tut.ps MANPSFILES= api.ps ext.ps lib.ps ref.ps tut.ps
HOWTOPSFILES= doc.ps mac.ps HOWTOPSFILES= doc.ps mac.ps inst.ps dist.ps
DVIFILES= $(MANDVIFILES) $(HOWTODVIFILES) DVIFILES= $(MANDVIFILES) $(HOWTODVIFILES)
PDFFILES= $(MANPDFFILES) $(HOWTOPDFFILES) PDFFILES= $(MANPDFFILES) $(HOWTOPDFFILES)
@ -72,6 +72,13 @@ api.pdf: api.tex $(APIFILES)
api.tex: ../api/api.tex ../api/refcounts.dat ../tools/anno-api.py api.tex: ../api/api.tex ../api/refcounts.dat ../tools/anno-api.py
$(PYTHON) ../tools/anno-api.py -o $@ ../api/api.tex $(PYTHON) ../tools/anno-api.py -o $@ ../api/api.tex
# Distributing Python Modules
dist.dvi: $(DISTFILES)
$(MKHOWTO) --dvi ../dist/dist.tex
dist.pdf: $(DISTFILES)
$(MKHOWTO) --pdf ../dist/dist.tex
# Documenting Python # Documenting Python
doc.dvi: $(DOCFILES) doc.dvi: $(DOCFILES)
$(MKHOWTO) --dvi ../doc/doc.tex $(MKHOWTO) --dvi ../doc/doc.tex
@ -86,6 +93,13 @@ ext.dvi: $(EXTFILES)
ext.pdf: $(EXTFILES) ext.pdf: $(EXTFILES)
$(MKPDF) ext $(MKPDF) ext
# Installing Python Modules
inst.dvi: $(INSTFILES)
$(MKHOWTO) --dvi ../inst/inst.tex
inst.pdf: $(INSTFILES)
$(MKHOWTO) --pdf ../inst/inst.tex
# Python Library Reference # Python Library Reference
lib.dvi: $(LIBFILES) lib.dvi: $(LIBFILES)
$(MKDVI) lib $(MKDVI) lib