touch test1.html-stamp1
echo LaTeX-Mk: Creating HTML output using tex2page
echo "test1.html_dir" > test1.hdir
env TEX2PAGE=mytex2page TEX2PAGE_FLAGS=mytex2page_flags BIBTEX=bibtex BIBTEX_FLAGS= MAKEIDX=makeindex MAKEIDX_FLAGS= MAKEGLS=makeindex MAKEGLS_FLAGS= POST_BIBTEX_HOOK= foo=bar latex-mk --tex2page test1.tex
if [ ! -f test1.www_files ]; then touch test1.www_files ; fi
for f in `find . -type f \( -name \*.html -o -name \*.htm -o -name \*.gif -o -name \*.png -o -name \*.css -o -name \*.pl -o -name WARNINGS -o -name \*.scm -o -name \*.hlog \) -newer test1.html-stamp1 -print` ; do fn=`basename $f` ; if grep "^$f " test1.www_files >/dev/null ; then echo "$f already recorded" ; else echo "recording file $f (test1.html_dir/$fn)" ; echo "$f test1.html_dir/$fn" >> test1.www_files ; fi ; done
for f in `find . -type f \( -name \*-Z-G-\*.tex -o -name \*-Z-G-\*.aux -o -name \*-Z-G-\*.log -o -name \*-Z-G-\*.dvi -o -name \*-Z-G-\*.ps -o -name .Z\*.tex \) -newer test1.html-stamp1 -print` ; do fn=`basename $f` ; if grep "^$f " test1.www_files >/dev/null ; then echo "$f already recorded" ; elif test "`dirname $f`" != "." ; then echo "$f is not in this directory, skipping" ; else echo "recording file $f (./$fn)" ; echo "$f ./$fn" >> test1.www_files ; fi ; done
mv test1.html-stamp1 test1.html-stamp
|