Allow to choose Git Credential Manager for Windows (GCM)
[TortoiseGit.git] / Languages / build-lang.cmd
blob0bee5ee156d52ebb42ada936d2ddeb9d06856c86
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_BG
11 call :nmake 1027 ca
12 call :nmake 1028 zh_TW
13 call :nmake 1029 cs
14 call :nmake 1031 de
15 call :nmake 1034 es_ES
16 call :nmake 1036 fr
17 call :nmake 1038 hu
18 call :nmake 1040 it_IT
19 call :nmake 1041 ja
20 call :nmake 1042 ko_KR
21 call :nmake 1043 nl_NL
22 call :nmake 1045 pl_PL
23 call :nmake 1046 pt_BR
24 call :nmake 1048 ro
25 call :nmake 1049 ru
26 call :nmake 1051 sk
27 call :nmake 1053 sv
28 call :nmake 1055 tr
29 call :nmake 1057 id
30 call :nmake 1058 uk
31 call :nmake 1066 vi
32 call :nmake 2052 zh_CN
33 call :nmake 2070 pt_PT
34 call :nmake 2074 sr@latin
35 goto :eof
37 :nmake
38 nmake /nologo /f Makefile %CLEAN% "outdir=%OUTDIR%" LANGID=%1 ISO=%2
39 goto :eof
41 :missingparam
42 echo Missing parameter:
43 echo %~nx0 [output path]
44 pause