summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/disser/templates/nomake.cmd')
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/nomake.cmd18
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd
index ac159d29bc2..b183654f156 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd
@@ -1,4 +1,18 @@
@echo off
-set subdirs=bachelor ..\master ..\candidate ..\doctor
-for %%i in (%subdirs%) do cd %%i & nomake %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file
+rem nomake script for LaTeX projects
+rem Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com>
+
+if "%CMDEXTVERSION%"=="" (
+ echo Error: This script requires command interpreter from Windows 2000 or above.
+ goto :eof
+)
+
+if "%1"=="help" (
+ set subdirs=bachelor
+) else (
+ set subdirs=bachelor ..\master ..\candidate ..\doctor
+)
+
+for %%i in (%subdirs%) do @cd %%i & nomake %1 %2 %3 %4 %5 %6 %7 %8 %9
+