summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd')
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd19
1 files changed, 8 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
index c6ed3f12107..542e4e15259 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
@@ -1,28 +1,25 @@
@echo off
+set latexnmk=call ..\..\include\latex.nmk.cmd
+
if "%1"=="help" (
:help
- call ..\..\include\latex.nmk.cmd %1
+ %latexnmk% %1
echo all build DVI of autoref and thesis
echo allpdf build PDF of autoref and thesis
goto :eof
) else if "%1"=="all" (
:all
- set target=thesis & call ..\..\include\latex.nmk.cmd dvi
- set target=autoref & call ..\..\include\latex.nmk.cmd dvi
+ set target=thesis & %latexnmk% dvi
+ set target=autoref & %latexnmk% dvi
set target=
goto :eof
) else if "%1"=="allpdf" (
:allpdf
- set target=thesis & call ..\..\include\latex.nmk.cmd pdf
- set target=autoref & call ..\..\include\latex.nmk.cmd pdf
+ set target=thesis & %latexnmk% pdf
+ set target=autoref & %latexnmk% pdf
set target=
goto :eof
) else (
- call ..\..\include\latex.nmk.cmd %*
- goto :eof
+ %latexnmk% %*
)
-
-if "%1" neq "" echo Don't know how to make %1
-:end
-shift & goto :start