Fix for bug #6758: material nodes were not working correct with
[plumiferos.git] / po / Makefile
blob182d3dd379777d3916eb975a5e23de3177bd5904
1 # $Id: Makefile 10044 2007-02-08 19:11:04Z letterrip $
3 # ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version. The Blender
9 # Foundation also sells licenses for use in proprietary software under
10 # the Blender License. See http://www.blender.org/BL/ for information
11 # about this.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software Foundation,
20 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 # The Original Code is Copyright (C) 2002 by Stichting Blender Foundation,
23 # Amsterdam, the Netherlands.
24 # All rights reserved.
26 # The Original Code is: revision 1.1
28 # Contributor(s): Wouter van Heyst
30 # ***** END GPL/BL DUAL LICENSE BLOCK *****
32 # po Makefile for blender. Compiles the translations and places them
33 # where release can pick them up.
35 SOURCEDIR = blender/po
37 include nan_definitions.mk
39 ifeq ($(INTERNTIONAL),true)
40 LINGUAS = ar bg ca cs de es fr hr it ja nl pl pt_BR ro ru sr sr@Latn sv uk zh_CN
41 else
42 LINGUAS =
43 endif
45 ifeq ($(OS), darwin)
46 DIR = $(OCGDIR)/bin/blender.app/Contents/Resources/locale/$@/LC_MESSAGES/
47 else
48 DIR = $(OCGDIR)/bin/.blender/locale/$@/LC_MESSAGES/
49 endif
51 all debug:: $(LINGUAS)
53 clean::
54 ifeq ($(OS), darwin)
55 rm -rf $(OCGDIR)/bin/blender.app/Contents/Resources/locale/
56 else
57 rm -rf $(OCGDIR)/bin/.blender/locale/
58 endif
60 $(LINGUAS):
61 mkdir -p $(DIR)
62 msgfmt -o $(DIR)/blender.mo $@.po