summaryrefslogtreecommitdiffstats
path: root/release-zip.mak
diff options
context:
space:
mode:
authorReimar Döffinger <brouwer@annejan.com>2015-04-11 21:54:27 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2015-04-11 21:54:27 +0200
commit41ed728e0a8d7500c86b1dd6194320e36b56fe4a (patch)
tree7523c05f9b2dbb527ed2f68a547c04678ea50885 /release-zip.mak
parentd7233142cef390f75f17a77c5d554c20b4f42eb5 (diff)
Add Makefile with commands to make a binary release zip file.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'release-zip.mak')
-rw-r--r--release-zip.mak10
1 files changed, 10 insertions, 0 deletions
diff --git a/release-zip.mak b/release-zip.mak
new file mode 100644
index 00000000..eb4be435
--- /dev/null
+++ b/release-zip.mak
@@ -0,0 +1,10 @@
+# Note: this assumes Qt with release and debug config was used
+
+VERSION=v0.1-testing
+
+qtpass-${VERSION}-win.zip: qtpass.exe LICENSE README.md
+ 7z a -mx=9 $@ $^
+
+qtpass.exe: release/qtpass.exe
+ strip $^
+ if [ -n "$(SIGNKEY)" ] ; then osslsigncode sign -ts http://www.startssl.com/timestamp -certs $(SIGNKEY).crt -key $(SIGNKEY).key -in $^ -out $@ ; chmod +x $@ ; else cp $^ $@ ; fi