blob: 0cd35556702ed88d5846b10d422b8e2e11de8a5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
@echo off
if "%1"=="help" (
:help
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=
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=
goto :eof
) else (
..\..\include\latex.nmk.cmd %*
goto :eof
)
if "%1" neq "" echo Don't know how to make %1
:end
shift & goto :start
|