Build language DLLs into bin\Languages, so that the executables pick up language...
[TortoiseGit.git] / Languages / Makefile
blob7891fc6cccfaf8718206a3df410155036790047c
1 #############################
2 # #
3 # Build a Tortoise Language #
4 # #
5 #############################
7 !ifndef outdir
8 !ERROR The outdir variable has to be set!
9 !endif
10 !ifndef ISO
11 !ERROR The ISO variable has to be set!
12 !endif
13 !ifndef LANGID
14 !ERROR The LANGID variable has to be set!
15 !endif
17 RESTEXT = "$(outdir)\ResText.exe"
18 APPLY = apply
19 LANGDLLS = "$(outdir)\TortoiseProc$(LANGID).dll" \
20 "$(outdir)\TortoiseMerge$(LANGID).dll" \
21 "$(outdir)\TortoiseIdiff$(LANGID).dll" \
22 "$(outdir)\TortoiseGitUDiff$(LANGID).dll" \
23 "$(outdir)\TortoiseGitBlame$(LANGID).dll"
25 all: $(LANGDLLS)
27 clean:
28 del $(LANGDLLS)
30 "$(outdir)\TortoiseProc$(LANGID).dll": Tortoise_$(ISO).po "$(outdir)\TortoiseProcLang.dll"
31 $(RESTEXT) $(APPLY) "$(outdir)\TortoiseProcLang.dll" $@ Tortoise_$(ISO).po
33 "$(outdir)\TortoiseMerge$(LANGID).dll": Tortoise_$(ISO).po "$(outdir)\TortoiseMergeLang.dll"
34 $(RESTEXT) $(APPLY) "$(outdir)\TortoiseMergeLang.dll" $@ Tortoise_$(ISO).po
36 "$(outdir)\TortoiseIDiff$(LANGID).dll": Tortoise_$(ISO).po "$(outdir)\TortoiseIDiffLang.dll"
37 $(RESTEXT) $(APPLY) "$(outdir)\TortoiseIdiffLang.dll" $@ Tortoise_$(ISO).po
39 "$(outdir)\TortoiseGitUDiff$(LANGID).dll": Tortoise_$(ISO).po "$(outdir)\TortoiseGitUDiffLang.dll"
40 $(RESTEXT) $(APPLY) "$(outdir)\TortoiseGitUDiffLang.dll" $@ Tortoise_$(ISO).po
42 "$(outdir)\TortoiseGitBlame$(LANGID).dll": Tortoise_$(ISO).po "$(outdir)\TortoiseGitBlameLang.dll"
43 $(RESTEXT) $(APPLY) "$(outdir)\TortoiseGitBlameLang.dll" $@ Tortoise_$(ISO).po