summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-11-04 15:33:54 -0200
committerdrebs <drebs@leap.se>2013-11-05 14:22:30 -0200
commit18578e925108d6af5c5de320fbe1fcec8a3748c6 (patch)
treea8095a579961662459728a8361655ec314c2946e /Makefile
parentb5f91e386b337afb674f583d7f31afd9a065052d (diff)
Fix items from mozilla review. Closes #4374.
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6b63456..fb59643 100755
--- a/Makefile
+++ b/Makefile
@@ -41,14 +41,18 @@ all: clean $(TARGET)
$(TARGET): clean install.rdf
mkdir -p $(TEMPDIR)
+ mkdir -p `dirname $@`
cp -r $(PREFIX)/{$(FILES_TO_PACKAGE)} $(TEMPDIR)/
+ rm -rf $(TEMPDIR)/.gitignore
(cd $(TEMPDIR) && zip -r $(TARGET) ./)
rm -rf $(TEMPDIR)
(cd build/ && sha512sum $(PKGNAME) > SHA512SUMS && gpg -a --default-key $(DEFAULTKEY) --detach-sign SHA512SUMS)
signed: clean
mkdir -p $(TEMPDIR)
+ mkdir -p `dirname $@`
cp -r $(PREFIX)/{$(FILES_TO_PACKAGE)} $(TEMPDIR)/
+ rm -rf $(TEMPDIR)/.gitignore
signtool -d $(CERTDIR) -k $(CERTNAME) $(TEMPDIR)/
(cd $(TEMPDIR) && zip $(TARGET) ./$(RSA_FILE) && zip -r -D $(TARGET) ./ -x ./$(RSA_FILE))
rm -rf $(TEMPDIR)