Kaydet (Commit) c6d45afb authored tarafından Fred Drake's avatar Fred Drake

Straighten out dependencies so changes in the texinputs/* get reflected.

üst 6cf186b8
# LaTeX source dependencies; note that the files are named relative to a # LaTeX source dependencies; note that the files are named relative to a
# child directory and not the directory this file is located in. # child directory and not the directory this file is located in.
COMMONSTYLES= ../texinputs/python.sty \
../texinputs/pypaper.sty \
../texinputs/python.ist
APIFILES= ../api/api.tex COMMONTEX= ../texinputs/copyright.tex \
../texinputs/boilerplate.tex
DOCFILES= ../doc/doc.tex MANSTYLES= ../texinputs/fncychap.sty \
../texinputs/manual.cls \
$(COMMONSTYLES)
EXTFILES= ../ext/ext.tex HOWTOSTYLES= ../texinputs/howto.cls \
$(COMMONSTYLES)
TUTFILES= ../tut/tut.tex
APIFILES= ../api/api.tex $(MANSTYLES) $(COMMONTEX)
DOCFILES= $(HOWTOSTYLES) $(COMMONTEX) \
../texinputs/ltxmarkup.sty \
../doc/doc.tex
EXTFILES= ../ext/ext.tex $(MANSTYLES) $(COMMONTEX)
TUTFILES= ../tut/tut.tex $(MANSTYLES) $(COMMONTEX)
# LaTeX source files for the Python Reference Manual # LaTeX source files for the Python Reference Manual
REFFILES= ../ref/ref.tex \ REFFILES= $(MANSTYLES) $(COMMONTEX) \
../ref/ref.tex \
../ref/ref1.tex \ ../ref/ref1.tex \
../ref/ref2.tex \ ../ref/ref2.tex \
../ref/ref3.tex \ ../ref/ref3.tex \
...@@ -22,7 +39,8 @@ REFFILES= ../ref/ref.tex \ ...@@ -22,7 +39,8 @@ REFFILES= ../ref/ref.tex \
../ref/ref8.tex ../ref/ref8.tex
# LaTeX source files for the Python Library Reference # LaTeX source files for the Python Library Reference
LIBFILES= ../lib/lib.tex \ LIBFILES= $(MANSTYLES) $(COMMONTEX) \
../lib/lib.tex \
../lib/libintro.tex \ ../lib/libintro.tex \
../lib/libobjs.tex \ ../lib/libobjs.tex \
../lib/libstdtypes.tex \ ../lib/libstdtypes.tex \
...@@ -207,7 +225,8 @@ LIBFILES= ../lib/lib.tex \ ...@@ -207,7 +225,8 @@ LIBFILES= ../lib/lib.tex \
../lib/libcfgparser.tex ../lib/libcfgparser.tex
# LaTeX source files for Macintosh Library Modules. # LaTeX source files for Macintosh Library Modules.
MACFILES= ../mac/mac.tex \ MACFILES= $(HOWTOSTYLES) $(COMMONTEX) \
../mac/mac.tex \
../mac/libmac.tex \ ../mac/libmac.tex \
../mac/libctb.tex \ ../mac/libctb.tex \
../mac/libmacconsole.tex \ ../mac/libmacconsole.tex \
......
...@@ -35,31 +35,14 @@ PSFILES= $(MANPSFILES) $(HOWTOPSFILES) ...@@ -35,31 +35,14 @@ PSFILES= $(MANPSFILES) $(HOWTOPSFILES)
include ../Makefile.deps include ../Makefile.deps
COMMONSTYLES= ../texinputs/python.sty \
../texinputs/pypaper.sty \
../texinputs/python.ist
COMMONTEX= ../texinputs/copyright.tex \
../texinputs/boilerplate.tex
MANSTYLES= ../texinputs/fncychap.sty \
../texinputs/manual.cls \
$(COMMONSTYLES)
HOWTOSTYLES= ../texinputs/howto.cls \
$(COMMONSTYLES)
SCRIPTS: ../tools/fix_hack ../tools/mkdvi.sh ../tools/indfix.py SCRIPTS: ../tools/fix_hack ../tools/mkdvi.sh ../tools/indfix.py
$(DVIFILES): $(SCRIPTS) $(COMMONTEX) $(DVIFILES): $(SCRIPTS)
$(PDFFILES): $(SCRIPTS) $(COMMONTEX) $(PDFFILES): $(SCRIPTS)
$(MANDVIFILES): $(MANSTYLES)
$(MANPDFFILES): $(MANSTYLES)
$(HOWTODVIFILES): ../tools/mkhowto $(HOWTOSTYLES) $(HOWTODVIFILES): ../tools/mkhowto
$(HOWTOPDFFILES): ../tools/mkhowto $(HOWTOSTYLES) $(HOWTOPDFFILES): ../tools/mkhowto
# Rules to build PostScript and PDF formats # Rules to build PostScript and PDF formats
...@@ -87,10 +70,10 @@ api.pdf: $(APIFILES) ...@@ -87,10 +70,10 @@ api.pdf: $(APIFILES)
$(MKPDF) api $(MKPDF) api
# Documenting Python # Documenting Python
doc.dvi: $(DOCFILES) ../texinputs/ltxmarkup.sty doc.dvi: $(DOCFILES)
$(MKHOWTO) --dvi ../doc/doc.tex $(MKHOWTO) --dvi ../doc/doc.tex
doc.pdf: $(DOCCFILES) ../texinputs/ltxmarkup.sty doc.pdf: $(DOCFILES)
$(MKHOWTO) --pdf ../doc/doc.tex $(MKHOWTO) --pdf ../doc/doc.tex
# Extending and Embedding the Python Interpreter # Extending and Embedding the Python Interpreter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment