From 5198e6cb8d302c4325068fa089e546cc950851f1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 11 Feb 2019 12:01:27 +0100 Subject: Makefile: dist & upload targets new --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3-70-g09d2