Adds a script to automatically determine the blender version #
[blender.git] / release / Makefile
index f608accf2b02af211fca73681c02439bc18b0bc4..2c299c9825005fa9f937de8f935da1bf4900cedf 100644 (file)
@@ -31,7 +31,7 @@
 
 include nan_definitions.mk
 
-export VERSION := $(shell cat VERSION)
+export VERSION := $(shell getversion.py)
 
 BLENDNAME=blender-$(VERSION)-$(CONFIG_GUESS)-py$(NAN_PYTHON_VERSION)$(TYPE)
 export DISTDIR=$(NAN_OBJDIR)/$(BLENDNAME)