diff options
Diffstat (limited to 'Master/Tools/update-tpm.bat')
-rw-r--r-- | Master/Tools/update-tpm.bat | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/Tools/update-tpm.bat b/Master/Tools/update-tpm.bat new file mode 100644 index 00000000000..12e2b6feac1 --- /dev/null +++ b/Master/Tools/update-tpm.bat @@ -0,0 +1,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=
|