diff --git a/Makefile b/Makefile index 11f4884..b1cb88f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ TAGGER_BASE := $(HOME)/Dropbox/tagger/comictagger -VERSION_STR := $(shell grep version $(TAGGER_BASE)/ctversion.py| cut -d= -f2 | sed 's/\"//g') +TAGGER_SRC := $(TAGGER_BASE)/src +VERSION_STR := $(shell grep version $(TAGGER_SRC)/ctversion.py| cut -d= -f2 | sed 's/\"//g') PASSWORD := $(shell cat $(TAGGER_BASE)/project_password.txt) -UPLOAD_TOOL := $(TAGGER_BASE)/googlecode_upload.py +UPLOAD_TOOL := $(TAGGER_BASE)/google/googlecode_upload.py all: clean clean: diff --git a/src/ctversion.py b/src/ctversion.py index 7a045a2..faa4e8e 100644 --- a/src/ctversion.py +++ b/src/ctversion.py @@ -1,3 +1,3 @@ # This file should contan only these comments, and the line below. # Used by packaging makefiles and app -version="1.1.0-beta" +version="1.1.1-beta" diff --git a/windows/Makefile b/windows/Makefile index 6ce7b1a..71083ea 100644 --- a/windows/Makefile +++ b/windows/Makefile @@ -2,6 +2,7 @@ # rm, cp, grep, cut, cat TAGGER_BASE:= c:\Users\tony\Dropbox\tagger\comictagger +TAGGER_SRC := $(TAGGER_BASE)\src DIST_DIR := $(TAGGER_BASE)\windows\dist NSIS_CMD := "C:\Program Files (x86)\NSIS\makensis.exe" VERSION := $(shell grep version "$(TAGGER_BASE)\ctversion.py" | cut -d= -f2) @@ -10,10 +11,10 @@ all: clean dist package dist: cd "$(TAGGER_BASE)" & - "C:\Python27\Scripts\cxfreeze.bat" $(TAGGER_BASE)\comictagger.py --icon nsis\app.ico + "C:\Python27\Scripts\cxfreeze.bat" $(TAGGER_SRC)\comictagger.py --icon nsis\app.ico #--base-name=Win32GUI cp -R C:\Python27\Lib\site-packages\PyQt4\plugins\imageformats $(DIST_DIR) - cp "$(TAGGER_BASE)\UnRAR2\UnRARDLL\unrar.dll" $(DIST_DIR) + cp "$(TAGGER_SRC)\UnRAR2\UnRARDLL\unrar.dll" $(DIST_DIR) cp "$(TAGGER_BASE)\*.ui" $(DIST_DIR) cp -r "$(TAGGER_BASE)\graphics" $(DIST_DIR) @@ -32,4 +33,4 @@ clean: test: echo !define RELEASE_STR $(VERSION) > test.nsh - \ No newline at end of file +