]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
don't om nom nom nom away the file you just wrote
authorRudolf Polzer <divVerent@xonotic.org>
Mon, 20 Dec 2010 08:48:19 +0000 (09:48 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 20 Dec 2010 08:48:19 +0000 (09:48 +0100)
Makefile

index c88652aa8934aaef4843e83c9f7c908eeab32f3e..1d9f068f1f277860c693cf58656e8e102c0b4fb4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1012,13 +1012,13 @@ endif
 release-src: BUILD_DATE := $(shell date +%Y%m%d)
 release-src: INSTALLDIR := netradiant-$(RADIANT_VERSION_NUMBER)-$(BUILD_DATE)
 release-src:
-       $(GIT) archive --format=tar --prefix=$(INSTALLDIR)/ HEAD | bzip2 > $(INSTALLDIR).tar.bz2
+       $(GIT) archive --format=tar --prefix=$(INSTALLDIR)/ HEAD | bzip2 > ../$(INSTALLDIR).tar.bz2
 
 release-win32: BUILD_DATE := $(shell date +%Y%m%d)
 release-win32: INSTALLDIR := netradiant-$(RADIANT_VERSION_NUMBER)-$(BUILD_DATE)
 release-win32:
        $(MAKE) all INSTALLDIR=$(INSTALLDIR) MAKEFILE_CONF=cross-Makefile.conf RADIANT_ABOUTMSG="Official release build" BUILD=release
-       7za a -sfx../../../../../../../../../../$(HOME)/7z.sfx $(INSTALLDIR)-win32-7z.exe $(INSTALLDIR)/
+       7za a -sfx../../../../../../../../../../$(HOME)/7z.sfx ../$(INSTALLDIR)-win32-7z.exe $(INSTALLDIR)/
        $(MAKE) clean INSTALLDIR=$(INSTALLDIR) MAKEFILE_CONF=cross-Makefile.conf RADIANT_ABOUTMSG="Official release build" BUILD=release
 
 release-all: