summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-03 22:02:19 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-03 22:02:19 (GMT)
commit6659c30b67da07573e4ab315d6fca1667b920a35 (patch)
treeaf961c46bf05d64ab1f5a7663018488bfcd0acb0 /Doc/Makefile
parent53525379daab30fc2ca83713df683fe113f0f8c2 (diff)
downloadcpython-6659c30b67da07573e4ab315d6fca1667b920a35.zip
cpython-6659c30b67da07573e4ab315d6fca1667b920a35.tar.gz
cpython-6659c30b67da07573e4ab315d6fca1667b920a35.tar.bz2
Convert LaTeX support to create a new class of documents. HTML generation
now requires LaTeX2HTML 98.1p1 or newer (& and is still in progress). This means that doing things to change the formatting of the manuals (at the "normal user" level, like A4 paper), can happen in just one place, rather than in each document file.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 8e23b96..6d23a4f 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -19,7 +19,7 @@
# four. You can also do "make lib" (etc.) to process individual
# documents.
#
-# There's one local style file: myformat.sty. This defines a number
+# There's one local style file: python.sty. This defines a number
# of macros that are similar in name and intent as macros in Texinfo
# (e.g. \code{...} and \emph{...}), as well as a number of
# environments for formatting function and data definitions, also in
@@ -125,7 +125,7 @@ tut-all: tut.dvi tut.pdf tut.ps l2htut
$(PDFLATEX) $*
# Dependencies
-COMMONTEX=myformat.sty copyright.tex boilerplate.tex
+COMMONTEX=python.sty manual.cls copyright.tex boilerplate.tex
$(DVIFILES): fix_hack $(COMMONTEX)
@@ -245,7 +245,7 @@ lib.texi: python-lib.texi
l2h: l2hapi l2hext l2hlib l2htut
-l2htut: tut.dvi myformat.perl
+l2htut: tut.dvi manual.perl python.perl
$(L2H) $(L2HARGS) tut.tex
(cd tut; ../node2label.pl *.html)
sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \
@@ -253,7 +253,7 @@ l2htut: tut.dvi myformat.perl
mv tut/xxx tut/tut.html
ln -s tut.html tut/index.html || true
-l2hext: ext.dvi myformat.perl
+l2hext: ext.dvi manual.perl python.perl
$(L2H) $(L2HARGS) ext.tex
(cd ext; ../node2label.pl *.html)
sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \
@@ -261,7 +261,7 @@ l2hext: ext.dvi myformat.perl
mv ext/xxx ext/ext.html
ln -s ext.html ext/index.html || true
-l2hlib: lib.dvi myformat.perl
+l2hlib: lib.dvi manual.perl python.perl
./fix_libaux.sed <lib.aux >lib1.aux
mv lib1.aux lib.aux
if [ -d lib ] ; then rm -f lib/*.html ; fi
@@ -272,7 +272,7 @@ l2hlib: lib.dvi myformat.perl
mv lib/xxx lib/lib.html
ln -s lib.html lib/index.html || true
-l2hapi: api.dvi myformat.perl
+l2hapi: api.dvi manual.perl python.perl
$(L2H) $(L2HARGS) api.tex
(cd api; ../node2label.pl *.html)
sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \
@@ -310,7 +310,7 @@ tarballs: tarpdf tarps tarhtml
# Housekeeping targets
# Remove temporary files; all except the following:
-# - sources: .tex, .bib, .sty
+# - sources: .tex, .bib, .sty, *.cls
# - useful results: .dvi, .pdf, .ps, .texi, .info
clean: l2hclean
rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl *.py[co]