Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-15 13:44:47 +0200
committerErich Eckner <git@eckner.net>2021-06-01 20:39:29 +0200
commitdd3ecdd0656c68e0be4e715687bdef6d9e21d716 (patch)
treeb91df34029a491fe31287cbf18a5d8267740a410 /Makefile
parent725386291ac95b07fb2bbacaa5419062801d4767 (diff)
Makefile new with dist and upload targets only
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
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