Don't fail cleaning if the locale directory doesn't exist.

Reported by Frank W. Samuelson among others.
This commit is contained in:
Wouter van Heyst 2003-07-23 17:51:40 +00:00
parent 13f7233f2f
commit ed074e8630

@ -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)