diff options
author | Fred Drake <fdrake@acm.org> | 1997-12-29 21:31:23 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1997-12-29 21:31:23 (GMT) |
commit | 3d913ad370a9821c27d2c99101667e5b93de7109 (patch) | |
tree | c4737a511c516ea59462fd48b5100eaa9be5e922 | |
parent | 1b6cf78c15561e9a9a48acf1ecc7af6b319512f1 (diff) | |
download | cpython-3d913ad370a9821c27d2c99101667e5b93de7109.zip cpython-3d913ad370a9821c27d2c99101667e5b93de7109.tar.gz cpython-3d913ad370a9821c27d2c99101667e5b93de7109.tar.bz2 |
Revised lib1.texi target to deal with some conversion nastiness. See comment.
-rw-r--r-- | Doc/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index 5548881..4224aa8 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -166,8 +166,15 @@ api.ps: api.dvi .PRECIOUS: lib.texi +# The sed script in this target fixes a really nasty little condition in +# libcgi.tex where \e has to be used in a group to get the right behavior, +# and makeinfo can't handle a group with a leading @command. But at least +# the info file gets generated. + lib1.texi: lib*.tex texipre.dat texipost.dat partparse.pyc $(PARTPARSE) -o lib1.texi `./whichlibs` + sed 's/"{\\}n{\\}n/"\\n\\n/' lib1.texi >lib2.texi + mv lib2.texi lib1.texi lib.texi: lib1.texi fix.el $(EMACS) -batch -l fix.el -f save-buffer -kill |