Here is what I've got doing
make VERBOSE=1 SHELL_DEBUG=1 negotiationProtocol
with Makefile in the same directory with negotiationProtocol.tex
seems like dvi file is negotiationProtocol.dvi.1st.make, however
negotiationProtocol.dvi is needed for dvips.
--- files created --------------------------------
-rwxrwxrwx 1 root root 5303 2008-03-15 21:35 negotiationProtocol.aux*
-rwxrwxrwx 1 root root 5303 2008-03-15 21:35
negotiationProtocol.aux.19850.make*
-rwxrwxrwx 1 root root 0 2008-03-15 21:35
negotiationProtocol.aux.19850.sed.make*
-rwxrwxrwx 1 root root 5125 2008-03-15 21:35 negotiationProtocol.aux.make*
-rwxrwxrwx 1 root root 8832 2008-03-15 21:35 negotiationProtocol.d*
-rwxrwxrwx 1 root root 33416 2008-03-15 21:35 negotiationProtocol.dvi.1st.make*
-rwxrwxrwx 1 root root 9750 2008-03-15 21:35 negotiationProtocol.fls*
-rwxrwxrwx 1 root root 12909 2008-03-15 21:35 negotiationProtocol.log*
-rwxrwxrwx 1 root root 115 2008-03-15 21:35 negotiationProtocol.ps.log*
-rwxrwxrwx 1 root root 4816 2008-03-13 22:19 negotiationProtocol.tex*
----------------------------------------------
--- output -----------------------------------
$ make VERBOSE=1 SHELL_DEBUG=1 negotiationProtocol
+ tput setaf 0
+ tput setaf 1
+ tput setaf 2
+ tput setaf 3
+ tput setaf 4
+ tput setaf 5
+ tput setaf 6
+ tput setaf 7
+ tput bold
+ tput smul
+ tput sgr0
+ echo 'NOTE: You may ignore warnings about the' 'following files:'
NOTE: You may ignore warnings about the following files:
+ echo
+ echo ' negotiationProtocol.d'
negotiationProtocol.d
+ echo ''
Makefile:1423: negotiationProtocol.d: No such file or directory
echo "= negotiationProtocol.tex --> negotiationProtocol.d
negotiationProtocol.dvi (1) ="
+ echo '= negotiationProtocol.tex --> negotiationProtocol.d
negotiationProtocol.dvi (1) ='
= negotiationProtocol.tex --> negotiationProtocol.d negotiationProtocol.dvi
(1) =
\
latex --interaction=batchmode --recorder negotiationProtocol.tex >
/dev/null || :; \
mv -f negotiationProtocol.dvi negotiationProtocol.dvi.1st.make; \
sed -e '/\\@input{\(.*\)}/{' -e 's//\1/' -e 's![.:]!\\&!g'
-e 'h' -e 's!.*!\\:\\\\@input{&}:{!' -e 'p' -e 'x' -e
's/.*/r &/p' -e 's/.*/d/p' -e 's/.*/}/p' -e 'd' -e '}' -e 'd'
'negotiationProtocol.aux' > "negotiationProtocol.aux.$$.sed.make"; sed -f
"negotiationProtocol.aux.$$.sed.make" 'negotiationProtocol.aux' >
"negotiationProtocol.aux.$$.make"; sed -e '/^\\relax/d' -e '/^\\bibcite/d'
-e 's/^\(\\newlabel{[^}]\{1,\}}\).*/\1/' "negotiationProtocol.aux.$$.make"
| sort > 'negotiationProtocol.aux.make'; :; \
echo "# vim: ft=make" > negotiationProtocol.d; \
echo ".PHONY: negotiationProtocol._graphics" >>
negotiationProtocol.d; \
sed -e '/^INPUT/!d' -e 's!^INPUT
\(\./\)\{0,1\}!negotiationProtocol.aux negotiationProtocol.aux.make
negotiationProtocol.d negotiationProtocol.dvi: !' -e '/\.tex$/p' -e
'/\.cls$/p' -e '/\.sty$/p' -e 'd' negotiationProtocol.fls | sort | uniq >>
negotiationProtocol.d; \
sed -e '/^File:/!d' -e 'N' -e 's/\n//g' -e '/Graphic file/!d' -e
's/^File: //' -e 's/ Graphic.*$//' -e '/^\(.*\)\(\.[^.]*\)$/{' -e
's//negotiationProtocol.d negotiationProtocol.dvi
negotiationProtocol._graphics: \1\2/' -e 'p' -e 's/[^:]*:
\(.*\)\(\.[^.]*\)$/-include \1.gpi.d/' -e 'p' -e 'd' -e '}'
negotiationProtocol.log | sort |uniq >> negotiationProtocol.d; \
sed -e '/^! LaTeX Error: File/!d' -e 's/^.*`//' -e 's/'"'"' not
found\..*//' -e '/\.pstex_t$/!d' -e '/^\(.*\)\(\.[^.]*\)$/{' -e
's//negotiationProtocol.d negotiationProtocol.dvi
negotiationProtocol._graphics: \1\2/' -e 'p' -e 's/^\([^:]*:
\)\(.*\)\(\.[^.]*\)_t$/\1\2\3/' -e 'p' -e 'd' -e '}'
negotiationProtocol.log | sort | uniq >> negotiationProtocol.d; \
sed -e 's/^No file \(.*\)\.ind\.$/negotiationProtocol.d
negotiationProtocol.aux negotiationProtocol.aux.make: \1.ind/p' -e 'd'
negotiationProtocol.log | sort | uniq >> negotiationProtocol.d; \
sed -e '/^\\bibdata/!d' -e 's/\\bibdata{\([^}]*\)}/\1,/' -e
's/,\{2,\}/,/g' -e 's/,/.bib /g' -e 's/ \{1,\}$//'
negotiationProtocol.aux.make | xargs kpsewhich - | sed -e
's/^/negotiationProtocol.bbl negotiationProtocol.aux
negotiationProtocol.aux.make: /' | \sort | uniq >> negotiationProtocol.d; \
for s in toc out lot lof nav; do \
if [ -e "negotiationProtocol.$s" ]; then \
if ! diff -q negotiationProtocol.$s
negotiationProtocol.$s.make 2>/dev/null; then \
touch negotiationProtocol.run.cookie; \
fi; \
cp -f negotiationProtocol.$s
negotiationProtocol.$s.make; \
fi; \
done
+ latex --interaction=batchmode --recorder negotiationProtocol.tex
+ mv -f negotiationProtocol.dvi negotiationProtocol.dvi.1st.make
+ sed -e '/\\@input{\(.*\)}/{' -e 's//\1/' -e 's![.:]!\\&!g' -e h -e
's!.*!\\:\\\\@input{&}:{!' -e p -e x -e 's/.*/r &/p' -e 's/.*/d/p' -e
's/.*/}/p' -e d -e '}' -e d negotiationProtocol.aux
+ sed -f negotiationProtocol.aux.19850.sed.make negotiationProtocol.aux
+ sed -e '/^\\relax/d' -e '/^\\bibcite/d' -e
's/^\(\\newlabel{[^}]\{1,\}}\).*/\1/' negotiationProtocol.aux.19850.make
+ sort
+ :
+ echo '# vim: ft=make'
+ echo '.PHONY: negotiationProtocol._graphics'
+ sed -e '/^INPUT/!d' -e 's!^INPUT \(\./\)\{0,1\}!negotiationProtocol.aux
negotiationProtocol.aux.make negotiationProtocol.d negotiationProtocol.dvi:
!' -e '/\.tex$/p' -e '/\.cls$/p' -e '/\.sty$/p' -e d negotiationProtocol.fls
+ sort
+ uniq
+ sed -e '/^File:/!d' -e N -e 's/\n//g' -e '/Graphic file/!d' -e 's/^File:
//' -e 's/ Graphic.*$//' -e '/^\(.*\)\(\.[^.]*\)$/{' -e
's//negotiationProtocol.d negotiationProtocol.dvi
negotiationProtocol._graphics: \1\2/' -e p -e 's/[^:]*:
\(.*\)\(\.[^.]*\)$/-include \1.gpi.d/' -e p -e d -e '}' negotiationProtocol.log
+ sort
+ uniq
+ sed -e '/^! LaTeX Error: File/!d' -e 's/^.*`//' -e 's/'\'' not
found\..*//' -e '/\.pstex_t$/!d' -e '/^\(.*\)\(\.[^.]*\)$/{' -e
's//negotiationProtocol.d negotiationProtocol.dvi
negotiationProtocol._graphics: \1\2/' -e p -e 's/^\([^:]*:
\)\(.*\)\(\.[^.]*\)_t$/\1\2\3/' -e p -e d -e '}' negotiationProtocol.log
+ sort
+ uniq
+ sed -e 's/^No file \(.*\)\.ind\.$/negotiationProtocol.d
negotiationProtocol.aux negotiationProtocol.aux.make: \1.ind/p' -e d
negotiationProtocol.log
+ sort
+ uniq
+ sed -e '/^\\bibdata/!d' -e 's/\\bibdata{\([^}]*\)}/\1,/' -e
's/,\{2,\}/,/g' -e 's/,/.bib /g' -e 's/ \{1,\}$//' negotiationProtocol.aux.make
+ xargs kpsewhich -
+ sed -e 's/^/negotiationProtocol.bbl negotiationProtocol.aux
negotiationProtocol.aux.make: /'
+ sort
+ uniq
+ for s in toc out lot lof nav
+ '[' -e negotiationProtocol.toc ']'
+ for s in toc out lot lof nav
+ '[' -e negotiationProtocol.out ']'
+ for s in toc out lot lof nav
+ '[' -e negotiationProtocol.lot ']'
+ for s in toc out lot lof nav
+ '[' -e negotiationProtocol.lof ']'
+ for s in toc out lot lof nav
+ '[' -e negotiationProtocol.nav ']'
+ tput setaf 0
+ tput setaf 1
+ tput setaf 2
+ tput setaf 3
+ tput setaf 4
+ tput setaf 5
+ tput setaf 6
+ tput setaf 7
+ tput bold
+ tput smul
+ tput sgr0
sed \
-e '/\\documentclass/,/}/{' \
-e ' s/%.*//' \
-e ' H' \
-e ' /}/{' \
-e ' s/.*//' \
-e ' x' \
-e ' /\\documentclass/!d' \
-e ' s/[\n[:space:]]*//g' \
-e ' s/\([,{[]\)\([[:alnum:]]\{1,\}\)paper\([],}]\)/\1%-\2-%\3/g' \
-e ' s/\([,{[]\)\(landscape\)\([],}]\)/\1%-\2-%\3/g' \
-e ' s/^[^%]*%-//' \
-e ' s/-%[^%]*$//' \
-e ' s/-%[^%]%-/ /g' \
-e ' p' \
-e ' }' \
-e ' d' \
-e '}' \
-e 'd' \
negotiationProtocol.tex > negotiationProtocol.paper.make; \
egrep -q '^[^%]*\\documentclass[^{]*{beamer}'
negotiationProtocol.tex && \
(\
egrep -q '^%%[[:space:]]*BEAMER[[:space:]]*LARGE$'
negotiationProtocol.tex && \
echo "BEAMER" > negotiationProtocol.paper.make || \
: > negotiationProtocol.paper.make \
) || :
+ sed -e '/\\documentclass/,/}/{' -e ' s/%.*//' -e ' H' -e ' /}/{' -e '
s/.*//' -e ' x' -e ' /\\documentclass/!d' -e '
s/[\n[:space:]]*//g' -e '
s/\([,{[]\)\([[:alnum:]]\{1,\}\)paper\([],}]\)/\1%-\2-%\3/g' -e '
s/\([,{[]\)\(landscape\)\([],}]\)/\1%-\2-%\3/g' -e ' s/^[^%]*%-//' -e '
s/-%[^%]*$//' -e ' s/-%[^%]%-/ /g' -e ' p' -e ' }' -e ' d' -e
'}' -e d negotiationProtocol.tex
+ egrep -q '^[^%]*\\documentclass[^{]*{beamer}' negotiationProtocol.tex
+ :
+ cat negotiationProtocol.paper.make
echo "= negotiationProtocol.dvi --> negotiationProtocol.ps ="
+ echo '= negotiationProtocol.dvi --> negotiationProtocol.ps ='
= negotiationProtocol.dvi --> negotiationProtocol.ps =
dvips -o 'negotiationProtocol.ps.temp' -t\documentclass{article}
'negotiationProtocol.dvi' > negotiationProtocol.ps.log 2>&1; \
if [ x"$?" = x"0" ]; then \
cat negotiationProtocol.ps.log; \
mv -f 'negotiationProtocol.ps.temp' 'negotiationProtocol.ps'; \
else \
cat negotiationProtocol.ps.log; \
:; \
! :; \
fi
+ dvips -o negotiationProtocol.ps.temp '-tdocumentclass{article}'
negotiationProtocol.dvi
+ '[' x1 = x0 ']'
+ cat negotiationProtocol.ps.log
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
dvips: ! DVI file can't be opened.
+ :
+ :
make: *** [negotiationProtocol.ps] Error 1
rm negotiationProtocol.paper.make
---------------------------------------------