Skip to content

Commit

Permalink
Fix UPX issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa committed May 21, 2015
1 parent 80dea75 commit a273f99
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.1.0.1 (20-May-2015)

* Remove UPX compression
* Update Makefile

## 2.1.0 (11-Apr-2015)

* Upgrade to Audacity 2.1.0
Expand Down
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,14 @@ APP_URL?=http://github.com/rasa/$(REPO)/
APP_ZIP?=$(APP)-$(VER)-$(FLAVOR).zip
CODESIGN_PFX?=../codesign.pfx
CURL?=curl
CURL_OPTS?=--netrc --insecure --silent --show-error
CURL_OPTS?=--netrc --insecure --silent --show-error
GPG_OPTS?=
HASH_FILES?=md5s.txt sha1s.txt sha256s.txt
ifeq ("$(FLAVOR)", "win32")
RELEASE_APP_EXE?=Release/$(APP_EXE)
else
RELEASE_APP_EXE?=Release/$(FLAVOR)/$(APP_EXE)
endif
RELEASE_URL?=https://api.github.com/repos/rasa/$(REPO)/releases
TAG?=v$(VER)
## fails occasionally: http://timestamp.verisign.com/scripts/timstamp.dll
Expand Down Expand Up @@ -121,7 +125,7 @@ define UPX_FILE
$(2): $(1)
test -d $(dir $(2)) || mkdir $(dir $(2))
test ! -f $(2) || rm -f $(2)
upx -9 -o $(2) $(1)
upx --best --overlay=skip --quiet -o $(2) $(1) || cp -p $(1) $(2)

UPXED_FILES+=$(2)

Expand Down Expand Up @@ -284,7 +288,7 @@ hashes: $(HASH_FILES)
$(APP_ZIP): $(APP_FILES)
-rm -f $@
zip $(ZIP_OPTS) $@ $^

.PHONY: zip
zip: $(APP_ZIP)

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0
2.1.0.1

0 comments on commit a273f99

Please sign in to comment.