aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-04-04 13:53:32 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-04-04 13:53:32 +0200
commit7938b79ed1c3f38cd39d87a47131b18923069413 (patch)
tree1e1a78b972c735fe7d8a7429abd91dd02da3be50 /Makefile
parent9b0cdf2fd7f22aad4ea9d5e5cd429b6dc8343d02 (diff)
downloadmkinitcpio-ykfde-7938b79ed1c3f38cd39d87a47131b18923069413.tar.gz
mkinitcpio-ykfde-7938b79ed1c3f38cd39d87a47131b18923069413.tar.zst
add make release
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
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