tex.mk: Now index.html is the top level link

This commit is contained in:
Jan Lindemann 2001-07-18 22:28:18 +00:00 committed by Jan Lindemann
commit 66dac60ce5

View file

@ -146,7 +146,7 @@ $(HTMLDIR): $(TEXSRC) $(FMT_OFFLINE_OUT) $(PRE_HTML)
mkdir -p $@
latex2html -split 4 -show_section_numbers -dir $(HTMLDIR) $(MAIN).tex
for OLD in $(HTMLDIR)/*.html; do \
sed "s/file:\/usr\/lib\/latex2html\/icons\///g; s/$(MAIN).html/node1.html/g;" $$OLD>$$OLD.new; \
sed "s/file:\/usr\/lib\/latex2html\/icons\///g; s/$(MAIN).html/index.html/g;" $$OLD>$$OLD.new; \
mv $$OLD.new $$OLD; \
done
rm $(HTMLDIR)/$(MAIN).html