From c2ff11fab7615f259fc1acb0ff7d875c2f2d47c0 Mon Sep 17 00:00:00 2001 From: "beville@gmail.com" Date: Fri, 8 Feb 2013 22:14:18 +0000 Subject: [PATCH] make sure the release folder always exists during build process git-svn-id: http://comictagger.googlecode.com/svn/trunk@474 6c5673fe-1810-88d6-992b-cd32ca31540c --- Makefile | 4 ++-- mac/Makefile | 1 + windows/Makefile | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6a09d33..6483532 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,9 @@ clean: make -C mac clean make -C windows clean rm -rf build - mkdir -p release pydist: + mkdir -p release rm -f release/*.zip python setup.py sdist --formats=zip #,gztar mv dist/comictagger-$(VERSION_STR).zip release @@ -58,5 +58,5 @@ upload: svn_tag: svn copy https://comictagger.googlecode.com/svn/trunk \ - https://comictagger.googlecode.com/svn/tags/$(VERSION_STR) -m "Release $(VERSION_STR)" + https://comictagger.googlecode.com/svn/tags/$(VERSION_STR) -m "Release $(VERSION_STR)" diff --git a/mac/Makefile b/mac/Makefile index 65539e7..257255e 100644 --- a/mac/Makefile +++ b/mac/Makefile @@ -59,5 +59,6 @@ diskimage: rm -f raw-$(DMG_FILE) #move finished product to release folder + mkdir -p $(TAGGER_BASE)/release mv $(DMG_FILE) $(TAGGER_BASE)/release diff --git a/windows/Makefile b/windows/Makefile index 234321e..d478bb3 100644 --- a/windows/Makefile +++ b/windows/Makefile @@ -25,6 +25,7 @@ dist: package: echo !define RELEASE_STR $(VERSION) > $(TAGGER_BASE)\windows\nsis\release.nsh $(NSIS_CMD) "$(TAGGER_BASE)\windows\nsis\comictagger.nsi" + mkdir -p "$(TAGGER_BASE)\release" mv "$(TAGGER_BASE)\windows\nsis\ComicTagger*.exe" "$(TAGGER_BASE)\release" clean: