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

Skip to content

Commit b4d4e25

Browse files
committed
(Makefile): Updated comments about using LaTeX2HTML for the library
reference. Made the extension to the input files for makeindex explicit; if not made explicit a directory of the given base name can cause makeindex to blow up. Specifically, if there is a directory ./lib/ created by LaTeX2HTML, "makeindex lib" will fail, but "makeindex lib.idx" will not. l2h{tut,ext,lib} are now dependent on myformat.perl. l2h adds ls2lib and removes the non-existant l2href.
1 parent 4464022 commit b4d4e25

1 file changed

Lines changed: 18 additions & 25 deletions

File tree

Doc/Makefile

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ MAKEINDEX= makeindex
6060
PYTHON= python
6161
MAKEINFO= makeinfo
6262
L2H= latex2html
63-
L2HARGS= -address $$USER@`domainname` -info ""
63+
L2HARGS= -address $$USER@`domainname`
6464

6565
# Destination directory for output of libwww target.
6666
PARTPARSE= $(PYTHON) ./partparse.pyc
@@ -131,7 +131,7 @@ lib.dvi: $(LIBFILES)
131131
touch lib.ind
132132
$(LATEX) lib
133133
./fix_hack lib.idx
134-
$(MAKEINDEX) lib
134+
$(MAKEINDEX) lib.idx
135135
$(LATEX) lib
136136

137137
lib.ps: lib.dvi
@@ -142,7 +142,7 @@ ext.dvi: ext.tex extref.tex
142142
touch ext.ind
143143
$(LATEX) ext
144144
./fix_hack ext.idx
145-
$(MAKEINDEX) ext
145+
$(MAKEINDEX) ext.idx
146146
$(LATEX) ext
147147

148148
ext.ps: ext.dvi
@@ -187,36 +187,29 @@ libwww: lib.texi texi2html.pyc
187187
# Targets to convert the manuals to HTML using Nikos Drakos' LaTeX to
188188
# HTML converter. For more info on this program, see
189189
# <URL:http://cbl.leeds.ac.uk/nikos/tex2html/doc/latex2html/latex2html.html>.
190-
# (I've had some trouble getting this to work with the netpbm version
191-
# of the pbmplus library; ppmtogif dumped core because giftopnm
192-
# outputs bitmap (pbm) files. I've fixed this by changing the source
193-
# of LaTeX2HTML to insert a call to pnmtoppm, which I wrote myself.
194-
# You can probably also use "pbmtopgm | pgmtoppm"...
195-
196-
# In order to use these targets, you must edit the definition of L2H
197-
# earlier in the Makefile to point to the latex2html program. Note
198-
# that LaTeX2HTML inserts references to an "icons" directory in each
199-
# page that it generates. You can customize where these icons are to
200-
# be found; I generally make it point to "../icons" and then create a
201-
# symbolic link to the icons directory in the LaTeX2HTML source at the
202-
# appropriate place.
203-
204-
l2h: l2htut l2href l2hext
205-
206-
l2htut: tut.dvi
190+
191+
# Note that LaTeX2HTML inserts references to an "icons" directory in
192+
# each page that it generates. You can customize where these icons
193+
# are to be found; I generally make it point to "../icons" and then
194+
# create a symbolic link to the icons directory in the LaTeX2HTML
195+
# source at the appropriate place. Change the definition of
196+
# $ICONSERVER in .latex2html-init to point to a different location.
197+
198+
l2h: l2htut l2hext l2hlib
199+
200+
l2htut: tut.dvi myformat.perl
207201
$(L2H) $(L2HARGS) tut.tex
208202
@rm -rf python-tut
209203
mv tut python-tut
210204

211-
l2hext: ext.dvi
205+
l2hext: ext.dvi myformat.perl
212206
$(L2H) $(L2HARGS) ext.tex
213207
@rm -rf python-ext
214208
mv ext python-ext
215209

216-
# This target doesn't quite work, since l2h doesn't understand the
217-
# funcdesc and similar environments, and turns them into GIF images.
218-
# Use the "libwww" target above instead.
219-
l2hlib: lib.dvi
210+
l2hlib: lib.dvi myformat.perl
211+
./fix_libaux.sed <lib.aux >@lib.aux
212+
mv @lib.aux lib.aux
220213
$(L2H) $(L2HARGS) lib.tex
221214
@rm -rf python-lib
222215
mv lib python-lib

0 commit comments

Comments
 (0)