Don't fail cleaning if the locale directory doesn't exist.
authorWouter van Heyst <larstiq-bforge@larstiq.dyndns.org>
Wed, 23 Jul 2003 17:51:40 +0000 (17:51 +0000)
committerWouter van Heyst <larstiq-bforge@larstiq.dyndns.org>
Wed, 23 Jul 2003 17:51:40 +0000 (17:51 +0000)
Reported by Frank W. Samuelson among others.

po/Makefile

index 21a0a348f4408c245e06399f5427a859cce0c1ab..92cb0a320af1decdf2d594c0f2facccd222c7de0 100644 (file)
@@ -46,7 +46,11 @@ endif
 all debug:: $(LINGUAS)
 
 clean::
-       rm -r $(OCGDIR)/bin/.blender/locale
+ifeq ($(OS), darwin)
+       rm -rf $(OCGDIR)/bin/blender.app/Contents/Resources/locale/
+else
+       rm -rf $(OCGDIR)/bin/.blender/locale/
+endif
 
 $(LINGUAS):
        mkdir -p $(DIR)