Commit 28123450 authored by Pierre Schmitz's avatar Pierre Schmitz Committed by Gerardo Exequiel Pozzi
Browse files

Add dist function to Makefile



This dist function creates a tar archive of a tag.
Signed-off-by: Pierre Schmitz's avatarPierre Schmitz <pierre@archlinux.de>
parent d2394aa2
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment