Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-07-31 19:52:09 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-07-31 19:52:09 -0300
commit555180c14fdc5c3fd6833356fd12e70cfb4194d8 (patch)
tree53b94b06cc6b79e73b72460965f9be0eba3f1af5
parent3c3e0bb42c8d9dd53dc6d192101fb388e8876bc4 (diff)
Add dist function to Makefile
This dist function creates a tar archive of a tag. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rw-r--r--archiso/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/archiso/Makefile b/archiso/Makefile
index 03f9a16..6a73d00 100644
--- a/archiso/Makefile
+++ b/archiso/Makefile
@@ -1,3 +1,5 @@
+V=1
+
all:
install: install-program install-hooks install-examples install-doc
@@ -54,4 +56,8 @@ uninstall:
rm -f $(DESTDIR)/usr/lib/initcpio/install/archiso_kms
rm -rf $(DESTDIR)/usr/share/archiso/
-.PHONY: install install-program install-hooks install-examples install-doc uninstall
+dist:
+ git archive --format=tar --prefix=archiso-$(V)/ v$(V) | gzip -9 > archiso-$(V).tar.gz
+ gpg --detach-sign --use-agent archiso-$(V).tar.gz
+
+.PHONY: install install-program install-hooks install-examples install-doc uninstall dist