From d12ab86927faa1d983f2fb401117c6b198f10d83 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 15 Jun 2018 13:44:47 +0200 Subject: Makefile new with dist and upload targets only --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..afd9ce3 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +V=$(shell git describe --exact-match) + +dist: + git archive --format=tar --prefix=reflector32-$(V)/ $(V) | gzip -9 > reflector32-$(V).tar.gz + gpg --detach-sign --use-agent reflector32-$(V).tar.gz + +upload: + scp reflector32-$(V).tar.gz reflector32-$(V).tar.gz.sig sources.archlinux32.org:sources/ + +.PHONY: dist upload -- cgit v1.2.3-70-g09d2