diff options
author | Karl Berry <karl@freefriends.org> | 2009-11-16 19:57:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-11-16 19:57:36 +0000 |
commit | 494bd0475fd9f4b8ad307a7fb97b96d1f8093936 (patch) | |
tree | 5b95640ef51caa72822a1478b49449c29c009b24 /Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd | |
parent | 7c71adc8d8bd0bf2195bb57a46f7029642681503 (diff) |
disser 1.1.3 (6nov09)
git-svn-id: svn://tug.org/texlive/trunk@16036 c570f23f-e606-0410-a88d-b1316a301751
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 + |