summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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