diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd')
-rw-r--r-- | Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd index 07630d2e16a..d3bc974cf93 100644 --- a/Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd +++ b/Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd @@ -1,15 +1,29 @@ @echo off +rem Makefile for documents and templates +rem Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com> + set latexnmk=call ..\..\include\latex.nmk.cmd -if "%1"=="all" ( -:all - %latexnmk% dvi -goto :eof -) else if "%1"=="allpdf" ( -:allpdf - %latexnmk% pdf -goto :eof +if "%1"=="" ( + %latexnmk% ) else ( - %latexnmk% %* + for %%f in (%*) do if "%%f"=="help" ( + call :%%f + ) else if "%%f"=="all" ( + %latexnmk% dvi + ) else if "%%f"=="allpdf" ( + %latexnmk% pdf + ) else ( + %latexnmk% %%f + ) ) + +exit /b + +:help + echo all alias for dvi target + echo allpdf alias for pdf target + %latexnmk% help +goto :eof + |