summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-12-06 18:45:30 (GMT)
committerFred Drake <fdrake@acm.org>1996-12-06 18:45:30 (GMT)
commitfc8f6f3ed391b0ae781f2f681f235b05b0ff1f3d (patch)
tree2506cb27ff8482931edea3def684bed3342188f1 /Doc/Makefile
parentf1e6707ea6ab85527189362522702a908582e80e (diff)
downloadcpython-fc8f6f3ed391b0ae781f2f681f235b05b0ff1f3d.zip
cpython-fc8f6f3ed391b0ae781f2f681f235b05b0ff1f3d.tar.gz
cpython-fc8f6f3ed391b0ae781f2f681f235b05b0ff1f3d.tar.bz2
(Makefile): The sed hack is needed for all 3 manuals processed by latex2html;
the comma must represent a bug in the modified process_command() function, but I haven't found it yet. This will work for now.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 8149a42..8cf093a 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -161,21 +161,28 @@ qua.ps: qua.dvi
# source at the appropriate place. Change the definition of
# $ICONSERVER in .latex2html-init to point to a different location.
+# The sed hack rips out a superfluous comma which I haven't found the source
+# of; the prominent location makes it worth the extra step. This affects the
+# title pages!
+
l2h: l2htut l2hext l2hlib
l2htut: tut.dvi myformat.perl
$(L2H) $(L2HARGS) tut.tex
@rm -rf python-tut
+ sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \
+ <tut/tut.html >tut/xxx
+ mv tut/xxx tut/tut.html
mv tut python-tut
l2hext: ext.dvi myformat.perl
$(L2H) $(L2HARGS) ext.tex
@rm -rf python-ext
+ sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \
+ <ext/ext.html >ext/xxx
+ mv ext/xxx ext/ext.html
mv ext python-ext
-# The sed hack rips out a superfluous comma which I haven't found the source
-# of; the prominent location makes it worth the extra step. This affects the
-# title page!
l2hlib: lib.dvi myformat.perl
./fix_libaux.sed <lib.aux >@lib.aux
mv @lib.aux lib.aux