- -e 's,\\tabularnewline$$,\\\\,g' < $(basename $<).orig.tex > $<
- touch $< -r $(basename $<).orig.tex # avoid warning that *.tex is newer than *.aux
- -$(LATEX2HTML) -split 0 -local_icons -info "" -dir $(TSS).html $(TSS)
- mv $(basename $<).orig.tex $<
-
-$(CDB).html/index.html: $(CDB).tex
- mkdir -p $(dir $@)
- @# fixes $(LATEX2HTML) problems with two consecutive dashes for long-options: --stack-auto
- @# fixes $(LATEX2HTML) problems with \tabularnewline
- mv $< $(basename $<).orig.tex
- sed -e 's,-\\/-,-\\/-\\/-,g' \
- -e 's,\\tabularnewline$$,\\\\,g' < $(basename $<).orig.tex > $<
- touch $< -r $(basename $<).orig.tex # avoid warning that *.tex is newer than *.aux
- -$(LATEX2HTML) -split 0 -show_section_numbers -local_icons -info "" -dir $(CDB).html $(CDB)
- mv $(basename $<).orig.tex $<
+ -e 's,\\tabularnewline$$,\\\\,g' < $< > $(dir $@)$(notdir $<)
+ cp $*.aux $(dir $@)
+ -cd $(dir $@); $(LATEX2HTML) -split 0 -local_icons -info "" -nosubdir $* $(QUIET)
+ rm -f $(dir $@)WARNINGS $(dir $@)labels.pl $(dir $@)$(notdir $<) $(dir $@)$*.aux