]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
(Makefile): The sed hack is needed for all 3 manuals processed by latex2html;
authorFred Drake <fdrake@acm.org>
Fri, 6 Dec 1996 18:45:30 +0000 (18:45 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 6 Dec 1996 18:45:30 +0000 (18:45 +0000)
the comma must represent a bug in the modified process_command()
function, but I haven't found it yet.  This will work for now.

Doc/Makefile

index 8149a425d09c637b61c357f3923ae54047760e7e..8cf093a99dce876e45823a49c82df30ac61b532f 100644 (file)
@@ -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