summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 652524c..e3d13a9 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,10 @@ MD := markdown
RM := rm
SED := sed
+# this is just a fallback in case you do not
+# use git but downloaded a release tarball...
+VERSION := 0.0.1
+
all: README.html
%.html: %.md
@@ -22,3 +26,7 @@ install:
clean:
$(RM) -f README.html
+
+release:
+ git archive --format=tar.xz --prefix=pacman-offline-$(VERSION)/ $(VERSION) > pacman-offline-$(VERSION).tar.xz
+ gpg -ab pacman-offline-$(VERSION).tar.xz