blob: d3bc974cf936f16217a397ab45594ef5ca5760b4 (
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
28
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"=="" (
%latexnmk%
) else (
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
|