Revision: 23263 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23263 Author: gsrb3d Date: 2009-09-16 00:34:10 +0200 (Wed, 16 Sep 2009)
Log Message: ----------- Make verification of committed .mo files optional. Modified Paths: -------------- trunk/blender/po/Makefile trunk/blender/source/nan_definitions.mk Modified: trunk/blender/po/Makefile =================================================================== --- trunk/blender/po/Makefile 2009-09-15 20:47:34 UTC (rev 23262) +++ trunk/blender/po/Makefile 2009-09-15 22:34:10 UTC (rev 23263) @@ -50,9 +50,11 @@ $(DIR)%/LC_MESSAGES/blender.mo: %.po mkdir -p $(@D) msgfmt -o $@ $< +ifeq ($(BF_VERIFY_MO_FILES), true) @cmp $@ $(NANBLENDERHOME)/bin/.blender/locale/$(basename $<)/LC_MESSAGES/blender.mo \ || ( echo Mismatch between generated and commited $(basename $<).mo catalog && \ rm -f $@ && false ) +endif all debug:: $(LINGUAS_DEST) # Just trigger the deps Modified: trunk/blender/source/nan_definitions.mk =================================================================== --- trunk/blender/source/nan_definitions.mk 2009-09-15 20:47:34 UTC (rev 23262) +++ trunk/blender/source/nan_definitions.mk 2009-09-15 22:34:10 UTC (rev 23263) @@ -143,6 +143,9 @@ export NAN_FFMPEGCFLAGS = $(shell pkg-config --cflags libavcodec libavdevice libavformat libswscale libavutil) endif + # Compare recreated .mo files with committed ones + export BF_VERIFY_MO_FILES ?= true + # Platform Dependent settings go below: ifeq ($(OS),darwin) @@ -309,6 +312,9 @@ # enable l10n export INTERNATIONAL ?= true + # Different endianess will make it fail, rely on other plataforms for checks + export BF_VERIFY_MO_FILES = false + else ifeq ($(OS),linux) _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs