Prepare release and bump version numbers to 2.17.0.2
[TortoiseGit.git] / Languages / build-lang.cmd
blob8b825c8216282655637253397c92783258c9fe71
1 @echo off
2 if [%1] == [] goto missingparam
3 if [%2] == [] goto missingparam
5 rem strip quotes
6 set OUTDIR=%~1
7 rem strip trailing baskslash
8 if %OUTDIR:~-1%==\ set OUTDIR=%OUTDIR:~0,-1%
9 set EXEDIR=%~2
10 rem strip trailing baskslash
11 if %EXEDIR:~-1%==\ set EXEDIR=%EXEDIR:~0,-1%
13 set CLEAN=
14 if [%2]==[clean] set CLEAN="clean"
15 if [%3]==[clean] set CLEAN="clean"
17 call :nmake 0130 oc
18 call :nmake 1026 bg
19 call :nmake 1027 ca
20 call :nmake 1028 zh_TW
21 call :nmake 1029 cs
22 call :nmake 1030 da
23 call :nmake 1031 de
24 call :nmake 1032 el
25 call :nmake 1034 es
26 call :nmake 1035 fi
27 call :nmake 1036 fr
28 call :nmake 1037 he
29 call :nmake 1038 hu
30 call :nmake 1040 it
31 call :nmake 1041 ja
32 call :nmake 1042 ko
33 call :nmake 1043 nl
34 call :nmake 1045 pl
35 call :nmake 1046 pt_BR
36 call :nmake 1048 ro
37 call :nmake 1049 ru
38 call :nmake 1051 sk
39 call :nmake 1052 sq
40 call :nmake 1053 sv
41 call :nmake 1054 th
42 call :nmake 1055 tr
43 call :nmake 1057 id
44 call :nmake 1058 uk
45 call :nmake 1060 sl
46 call :nmake 1063 lt
47 call :nmake 1065 fa
48 call :nmake 1066 vi
49 call :nmake 1097 ta_IN
50 call :nmake 2052 zh_CN
51 call :nmake 2070 pt_PT
52 call :nmake 2074 sr@latin
53 call :nmake 3098 sr@Cyrl
54 goto :eof
56 :nmake
57 nmake /nologo /f Makefile %CLEAN% "outdir=%OUTDIR%" "exedir=%EXEDIR%" LANGID=%1 ISO=%2
58 goto :eof
60 :missingparam
61 echo Missing parameter:
62 echo %~nx0 [output path]
63 pause