Fixed issue #3202: Deletion of inactive branch inside not main working copy fails
[TortoiseGit.git] / Languages / build-lang.cmd
blobeb759d7ecda7bfb1e9483fd82472e111e5a36250
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 0130 oc
11 call :nmake 1026 bg
12 call :nmake 1027 ca
13 call :nmake 1028 zh_TW
14 call :nmake 1029 cs
15 call :nmake 1030 da
16 call :nmake 1031 de
17 call :nmake 1032 el
18 call :nmake 1034 es
19 call :nmake 1035 fi
20 call :nmake 1036 fr
21 call :nmake 1038 hu
22 call :nmake 1040 it
23 call :nmake 1041 ja
24 call :nmake 1042 ko
25 call :nmake 1043 nl
26 call :nmake 1045 pl
27 call :nmake 1046 pt_BR
28 call :nmake 1048 ro
29 call :nmake 1049 ru
30 call :nmake 1051 sk
31 call :nmake 1053 sv
32 call :nmake 1055 tr
33 call :nmake 1057 id
34 call :nmake 1058 uk
35 call :nmake 1065 fa
36 call :nmake 1066 vi
37 call :nmake 2052 zh_CN
38 call :nmake 2070 pt_PT
39 call :nmake 2074 sr@latin
40 goto :eof
42 :nmake
43 nmake /nologo /f Makefile %CLEAN% "outdir=%OUTDIR%" LANGID=%1 ISO=%2
44 goto :eof
46 :missingparam
47 echo Missing parameter:
48 echo %~nx0 [output path]
49 pause