- export VERSION so specific.sh can use it
authorFrank van Beek <frank@iae.nl>
Mon, 10 Feb 2003 10:44:26 +0000 (10:44 +0000)
committerFrank van Beek <frank@iae.nl>
Mon, 10 Feb 2003 10:44:26 +0000 (10:44 +0000)
- made remove in the final directory a bit more specific

release/Makefile

index f401d18f18111bf0a0694a2f300c1c4a95b2ac1e..f6d5a7c4c89b585d82b3fb645af6aa5f5bab9eac 100644 (file)
@@ -31,7 +31,7 @@
 
 include nan_definitions.mk
 
-VERSION := $(shell cat VERSION)
+export VERSION := $(shell cat VERSION)
 
 BLENDNAME=blender-$(VERSION)-$(CONFIG_GUESS)$(TYPE)
 export DISTDIR=$(NAN_OBJDIR)/$(BLENDNAME)
@@ -135,7 +135,7 @@ install: package
 pkg: install
        @echo "----> Create distribution file $(BLENDNAME)$(EXT1)"
        @cd $(NAN_OBJDIR) && \
-       rm -f  $(VERSION)/$(BLENDNAME)* && \
+       rm -f  $(VERSION)/$(BLENDNAME)$(EXT1)* && \
        $(TAR) $(VERSION)/$(BLENDNAME)$(EXT1) $(BLENDNAME)
     ifdef COMPRESS
        @echo "----> Compressing distribution to $(BLENDNAME)$(EXT1)$(EXT2)"