Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-11 12:01:27 +0100
committerErich Eckner <git@eckner.net>2019-02-11 12:01:27 +0100
commit5198e6cb8d302c4325068fa089e546cc950851f1 (patch)
treec1eabb43a9dcaeec381584bc308c29e4a7b970b8
parentab9921aacc92c4615fa448644ded1f3e92a6ac60 (diff)
Makefile: dist & upload targets new0.2
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index efeeb9c..f755784 100644
--- a/Makefile
+++ b/Makefile
@@ -54,4 +54,11 @@ install: all
install -Dm644 $(BASH_COMPLETION) $(DESTDIR)$(PREFIX)/share/bash-completion/completions/asp32
install -Dm644 $(ZSH_COMPLETION) $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_asp32
+dist:
+ git archive --format=tar --prefix=asp32-$(VERSION)/ $(VERSION) | gzip -9 > asp32-$(VERSION).tar.gz
+ gpg --detach-sign --use-agent asp32-$(VERSION).tar.gz
+
+upload:
+ scp asp32-$(VERSION).tar.gz asp32-$(VERSION).tar.gz.sig sources.archlinux32.org:sources/
+
.PHONY: all clean install