upload target for mac and windows

This commit is contained in:
Klas Lindfors
2014-02-11 09:20:59 +01:00
parent 141386f5c5
commit 11365f0995
2 changed files with 29 additions and 1 deletions
+12 -1
View File
@@ -49,7 +49,18 @@ doit:
cp COPYING $(PWD)/tmp/root/licenses/$(PACKAGE).txt && \
cd .. && \
cd root && \
zip -r ../../$(PACKAGE)-$(VERSION)-$(ARCH).zip *
zip -r ../../$(PACKAGE)-$(VERSION)-mac.zip *
mac:
$(MAKE) -f mac.mk doit CHECK=check
upload-mac:
@if test ! -d "$(YUBICO_GITHUB_REPO)"; then \
echo "yubico.github.com repo not found!"; \
echo "Make sure that YUBICO_GITHUB_REPO is set"; \
exit 1; \
fi
gpg --detach-sign --default-key $(PGPKEYID) \
$(PACKAGE)-$(VERSION)-mac.zip
gpg --verify $(PACKAGE)-$(VERSION)-mac.zip.sig
$(YUBICO_GITHUB_REPO)/publish $(PACKAGE) $(VERSION) $(PACKAGE)-$(VERSION)-mac.zip*
+17
View File
@@ -65,3 +65,20 @@ doit:
64bit:
$(MAKE) -f windows.mk doit ARCH=64 HOST=x86_64-w64-mingw32 CHECK=check
upload:
@if test ! -d "$(YUBICO_GITHUB_REPO)"; then \
echo "yubico.github.com repo not found!"; \
echo "Make sure that YUBICO_GITHUB_REPO is set"; \
exit 1; \
fi
gpg --detach-sign --default-key $(PGPKEYID) \
$(PACKAGE)-$(VERSION)-win$(ARCH).zip
gpg --verify $(PACKAGE)-$(VERSION)-win$(ARCH).zip.sig
$(YUBICO_GITHUB_REPO)/publish $(PACKAGE) $(VERSION) $(PACKAGE)-$(VERSION)-win${ARCH}.zip*
upload-32bit:
$(MAKE) -f windows.mk upload ARCH=32
upload-64bit:
$(MAKE) -f windows.mk upload ARCH=64