summaryrefslogtreecommitdiff
path: root/Master/Tools/update-tpm.bat
blob: 12e2b6feac164e626d1cbaae78a69926b5a42683 (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
@echo off
if "%1" == "src" (
set MASTERDIR=c:/source/texlive/Master
set ARCH=all
) else if "%1" == "texlive" (
set MASTERDIR=c:/Progra~1/TeXLive
set ARCH=win32,win32-static
) else if "%1" == "xemtex" (
set MASTERDIR=c:/Progra~1/XeMTeX
set ARCH=win32
) else (
echo Wrong target!
goto done
)
perl c:/source/TeXLive/Master/Tools/tpm-factory.pl --master_dir=%MASTERDIR% --clean --patterns=from --arch=%ARCH% --type=TLCore
perl c:/source/TeXLive/Master/Tools/tpm-factory.pl --master_dir=%MASTERDIR% --clean --patterns=auto --arch=%ARCH% --type=Package
perl c:/source/TeXLive/Master/Tools/tpm-factory.pl --master_dir=%MASTERDIR% --clean --patterns=auto --arch=%ARCH% --type=Documentation
rem
perl c:/source/TeXLive/Master/Tools/tpm-factory.pl --master_dir=%MASTERDIR% --check=cov --arch=%ARCH% --type=all > \source\texlive\Master\Tools\cov-%1.log
perl c:/source/TeXLive/Master/Tools/tpm-factory.pl --master_dir=%MASTERDIR% --check=dep --arch=%ARCH% --type=all > \source\texlive\Master\Tools\dep-%1.log
perl c:/source/TeXLive/Master/Tools/tpm-factory.pl --master_dir=%MASTERDIR% --check=dup --arch=%ARCH% --type=all > \source\texlive\Master\Tools\dup-%1.log
:done
set MASTERDIR=
set ARCH=