From 7938b79ed1c3f38cd39d87a47131b18923069413 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 4 Apr 2014 13:53:32 +0200 Subject: add make release --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 9909717..6716e60 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,9 @@ INSTALL := install MD := markdown RM := rm +# this is just a fallback in case you do not use git but downloaded +# # a release tarball... +# VERSION := 0.3.0 all: udev/ykfde README.html @@ -26,3 +29,7 @@ install-doc: README.md README.html clean: $(MAKE) -C udev clean $(RM) -f README.html + +release: + git archive --format=tar.xz --prefix=mkinicpio-ykfde-$(VERSION)/ $(VERSION) > mkinitcpio-ykfde-$(VERSION).tar.xz + gpg -ab mkinitcpio-ykfde-$(VERSION).tar.xz -- cgit v1.2.3-70-g09d2