3 # ***** BEGIN GPL 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.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software Foundation,
17 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 # The Original Code is Copyright (C) 2002 by Stichting Blender Foundation,
20 # Amsterdam, the Netherlands.
21 # All rights reserved.
23 # The Original Code is: revision 1.1
25 # Contributor(s): Wouter van Heyst
27 # ***** END GPL LICENSE BLOCK *****
29 # po Makefile for blender. Compiles the translations and places them
30 # where release can pick them up.
32 SOURCEDIR = blender/po
34 include nan_definitions.mk
36 LINGUAS = ar bg ca cs de el es fi fr hr it ja ko nl pl pt_BR ro ru sr sr@Latn sv uk zh_CN
39 DIR = $(OCGDIR)/bin/blender.app/Contents/Resources/locale/$@/LC_MESSAGES/
41 DIR = $(OCGDIR)/bin/.blender/locale/$@/LC_MESSAGES/
44 all debug:: $(LINGUAS)
48 rm -rf $(OCGDIR)/bin/blender.app/Contents/Resources/locale/
50 rm -rf $(OCGDIR)/bin/.blender/locale/
55 msgfmt -o $(DIR)/blender.mo $@.po