From ed074e8630c3a40b2fec6f0c458537c6fe8d77b7 Mon Sep 17 00:00:00 2001 From: Wouter van Heyst Date: Wed, 23 Jul 2003 17:51:40 +0000 Subject: [PATCH] Don't fail cleaning if the locale directory doesn't exist. Reported by Frank W. Samuelson among others. --- po/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/po/Makefile b/po/Makefile index 21a0a348f44..92cb0a320af 100644 --- a/po/Makefile +++ b/po/Makefile @@ -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)