summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-10-12 07:50:23 -0300
committerdrebs <drebs@leap.se>2013-10-12 07:50:23 -0300
commitc42280657a322b0daac8352ae35c90f2df58dc1c (patch)
treeef747943593b04de72786775e3d6185906839629 /Makefile
parent67da5669f7a7ef88849d810109f3095bbf6f2ddd (diff)
Enable detached ascii sig for SHA256SUMS.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7d23b14..19eef87 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ $(TARGET): clean
cp -r $(PREFIX)/{$(FILES_TO_PACKAGE)} $(TEMPDIR)/
(cd $(TEMPDIR) && zip -r $(TARGET) ./)
rm -rf $(TEMPDIR)
- (cd build/ && sha512sum $(PKGNAME) > SHA512SUMS && gpg --default-key $(DEFAULTKEY) --sign SHA512SUMS)
+ (cd build/ && sha512sum $(PKGNAME) > SHA512SUMS && gpg -a --default-key $(DEFAULTKEY) --detach-sign SHA512SUMS)
signed: clean
mkdir -p $(TEMPDIR)
@@ -51,12 +51,13 @@ signed: clean
signtool -d $(CERTDIR) -k $(CERTNAME) $(TEMPDIR)/
(cd $(TEMPDIR) && zip $(TARGET) ./$(RSA_FILE) && zip -r -D $(TARGET) ./ -x ./$(RSA_FILE))
rm -rf $(TEMPDIR)
- (cd build/ && sha512sum $(PKGNAME) > SHA512SUMS && gpg --default-key $(DEFAULTKEY) --sign SHA512SUMS)
+ (cd build/ && sha512sum $(PKGNAME) > SHA512SUMS && gpg -a --default-key $(DEFAULTKEY) --detach-sign SHA512SUMS)
clean:
rm -f $(TARGET) build/*
upload:
- scp build/* downloads.leap.se:~/public/thunderbird_extension/
+ ssh downloads.leap.se rm -rf /var/www/leap-downloads/public/thunderbird_extension/*
+ scp build/* downloads.leap.se:/var/www/leap-downloads/public/thunderbird_extension/
.PHONY: all clean signed