Use TaskDialog if possible
[TortoiseGit.git] / Languages / build-lang.cmd
bloba4224224ad6dcfc0ec329673c5136c3e10eeb412
1 @echo off
2 if [%1] == [] goto missingparam
3 rem strip quotes
4 set OUTDIR=%~1
5 rem strip trailing baskslash
6 if %OUTDIR:~-1%==\ set OUTDIR=%OUTDIR:~0,-1%
7 set CLEAN=
8 if [%2]==[clean] set CLEAN="clean"
10 call :nmake 1026 bg
11 call :nmake 1027 ca
12 call :nmake 1028 zh_TW
13 call :nmake 1029 cs
14 call :nmake 1030 da
15 call :nmake 1031 de
16 call :nmake 1034 es
17 call :nmake 1035 fi
18 call :nmake 1036 fr
19 call :nmake 1038 hu
20 call :nmake 1040 it
21 call :nmake 1041 ja
22 call :nmake 1042 ko
23 call :nmake 1043 nl
24 call :nmake 1045 pl
25 call :nmake 1046 pt_BR
26 call :nmake 1048 ro
27 call :nmake 1049 ru
28 call :nmake 1051 sk
29 call :nmake 1053 sv
30 call :nmake 1055 tr
31 call :nmake 1057 id
32 call :nmake 1058 uk
33 call :nmake 1065 fa
34 call :nmake 1066 vi
35 call :nmake 2052 zh_CN
36 call :nmake 2070 pt_PT
37 call :nmake 2074 sr@latin
38 goto :eof
40 :nmake
41 nmake /nologo /f Makefile %CLEAN% "outdir=%OUTDIR%" LANGID=%1 ISO=%2
42 goto :eof
44 :missingparam
45 echo Missing parameter:
46 echo %~nx0 [output path]
47 pause