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
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
46 DIR
= $(OCGDIR
)/bin
/blender.app
/Contents
/Resources
/locale
/$@
/LC_MESSAGES
/
48 DIR
= $(OCGDIR
)/bin
/.blender
/locale
/$@
/LC_MESSAGES
/
51 all debug
:: $(LINGUAS
)
55 rm -rf
$(OCGDIR
)/bin
/blender.app
/Contents
/Resources
/locale
/
57 rm -rf
$(OCGDIR
)/bin
/.blender
/locale
/
62 msgfmt
-o
$(DIR
)/blender.mo
$@.po