aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile4
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 32c39d5..e6c3705 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@ config.h
nullshell
README.html
version.h
+nullshell-*.tar.xz
+nullshell-*.tar.xz.asc
diff --git a/Makefile b/Makefile
index 486de93..d68a47e 100644
--- a/Makefile
+++ b/Makefile
@@ -41,3 +41,7 @@ clean:
distclean:
$(RM) -f README.html nullshell version.h config.h
+
+release:
+ git archive --format=tar.xz --prefix=nullshell-$(VERSION)/ $(VERSION) > nullshell-$(VERSION).tar.xz
+ gpg -ab nullshell-$(VERSION).tar.xz