File: vars_tex2page.ref

package info (click to toggle)
latex-mk 2.1-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 2,988 kB
  • ctags: 243
  • sloc: sh: 4,252; makefile: 165
file content (8 lines) | stat: -rw-r--r-- 1,329 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
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