diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd')
-rw-r--r-- | Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd | 52 |
1 files changed, 44 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd b/Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd index 6f72e3e5775..f5ede11db0b 100644 --- a/Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd +++ b/Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd @@ -47,6 +47,7 @@ if "%clext%"=="" set clext=*.bbl *.bak *.aux *.blg *.out *.toc *.log ^ *.dvi *.tmp *.pdf *.ps if "%clfiles%"=="" set clfiles=!clext! %archive% if "%srcfiles%"=="" set srcfiles=* +if "%prereq%"=="" set prereq=*.tex *.bib if "%1"=="" ( @@ -63,7 +64,7 @@ exit /b goto :eof :dvi - call :cmptimes %target%.dvi *.tex *.bib + call :cmptimes %target%.dvi %prereq% if !_ctres!==0 ( echo nomake: Nothing to be done for 'dvi'. goto :eof @@ -95,12 +96,17 @@ goto :eof goto :eof :html + call :cmptimes %target%.html %prereq% + if !_ctres!==0 ( + echo nomake: Nothing to be done for 'html'. + goto :eof + ) call :dvi %l2h% %l2hflags% %target%.tex goto :eof :pdf - call :cmptimes %target%.pdf *.tex *.bib + call :cmptimes %target%.pdf %prereq% if !_ctres!==0 ( echo nomake: Nothing to be done for 'pdf'. goto :eof @@ -115,34 +121,64 @@ goto :eof %pdflatex% %pdflatexflags% %target%.tex goto :eof -:pdf2on1 - call :ps2on1 +:pdf_2on1 + call :cmptimes %target%_2on1.pdf %prereq% + if !_ctres!==0 ( + echo nomake: Nothing to be done for 'pdf_2on1'. + goto :eof + ) + call :ps_2on1 %ps2pdf% %ps2pdfflags% -sOutputFile=%target%_2on1.pdf ^ -c save pop -f %target%_2on1.ps goto :eof -:pdfbook - call :psbook +:pdf_book + call :cmptimes %target%_book.pdf %prereq% + if !_ctres!==0 ( + echo nomake: Nothing to be done for 'pdf_book'. + goto :eof + ) + call :ps_book %ps2pdf% %ps2pdfflags% -sOutputFile=%target%_book.pdf ^ -c save pop -f %target%_book.ps goto :eof :ps + call :cmptimes %target%.ps %prereq% + if !_ctres!==0 ( + echo nomake: Nothing to be done for 'ps'. + goto :eof + ) call :dvi %dvips% %dvipsflags% %target%.dvi goto :eof -:ps2on1 +:ps_2on1 + call :cmptimes %target%_2on1.ps %prereq% + if !_ctres!==0 ( + echo nomake: Nothing to be done for 'ps_2on1'. + goto :eof + ) call :ps %psnup% %psnupflags% %target%.ps > %target%_2on1.ps goto :eof -:psbook +:ps_book + call :cmptimes %target%_book.ps %prereq% + if !_ctres!==0 ( + echo nomake: Nothing to be done for 'ps_book'. + goto :eof + ) call :ps %psbook% %target%.ps | %psnup% -2 > %target%_book.ps goto :eof :rtf + call :cmptimes %target%.rtf %prereq% + if !_ctres!==0 ( + echo nomake: Nothing to be done for 'rtf'. + goto :eof + ) call :dvi %l2rtf% %l2rtfflags% -a %target%.aux -b %target%.bbl %target%.tex goto :eof |