Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d913ad

Browse files
committed
Revised lib1.texi target to deal with some conversion nastiness. See comment.
1 parent 1b6cf78 commit 3d913ad

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Doc/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,15 @@ api.ps: api.dvi
166166

167167
.PRECIOUS: lib.texi
168168

169+
# The sed script in this target fixes a really nasty little condition in
170+
# libcgi.tex where \e has to be used in a group to get the right behavior,
171+
# and makeinfo can't handle a group with a leading @command. But at least
172+
# the info file gets generated.
173+
169174
lib1.texi: lib*.tex texipre.dat texipost.dat partparse.pyc
170175
$(PARTPARSE) -o lib1.texi `./whichlibs`
176+
sed 's/"{\\}n{\\}n/"\\n\\n/' lib1.texi >lib2.texi
177+
mv lib2.texi lib1.texi
171178

172179
lib.texi: lib1.texi fix.el
173180
$(EMACS) -batch -l fix.el -f save-buffer -kill

0 commit comments

Comments
 (0)