store locales, .Blanguage, and .bfont.ttf inside of Resources folder of
[blender.git] / source / darwin / Makefile
index c65b4d82bd8ce5d3046c0488d06e57c346f3bffa..13ce607509a2027d5af30d04e07fca23a8e83d81 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $Id: Makefile,v 1.4 2003/02/02 17:28:15 sgefant Exp $
+# $Id: Makefile,v 1.6 2003/05/09 20:20:40 sgefant Exp $
 #
 # ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
 #
@@ -44,6 +44,13 @@ all::
        @cp $(DIR)/bin/$(APPLICATION) $(DIR)/bin/$(APPLICATION).app/Contents/MacOS/
        @echo "---> adding excutable attributes"
        @chmod +x $(DIR)/bin/$(APPLICATION).app/Contents/MacOS/$(APPLICATION)
+ifeq ($(APPLICATION), blender)
+       @echo "---> copying message files"
+       @cp -R ../../bin/.blender/locale $(DIR)/bin/$(APPLICATION).app/Contents/Resources
+       @echo "---> copying .Blanguages and .bfont.ttf"
+       @cp ../../bin/.blender/.Blanguages $(DIR)/bin/$(APPLICATION).app/Contents/Resources
+       @cp ../../bin/.blender/.bfont.ttf $(DIR)/bin/$(APPLICATION).app/Contents/Resources
+endif
        @echo "---> removing CVS directories and Mac hidden files from distribution"
        @find $(DIR)/bin/$(APPLICATION).app -name CVS -prune -exec rm -rf {} \;
        @find $(DIR)/bin/$(APPLICATION).app -name .DS_Store -exec rm -f {} \;