summaryrefslogtreecommitdiffstats
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 d83ea10..4755558 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,5 @@ netlink-notify-*.png
netlink-notify
README.html
version.h
+netlink-notify-*.tar.xz
+netlink-notify-*.tar.xz.asc
diff --git a/Makefile b/Makefile
index 0e40484..8ab7c1a 100644
--- a/Makefile
+++ b/Makefile
@@ -63,3 +63,7 @@ install-doc: README.html
clean:
$(RM) -f *.o *~ netlink-notify-*.png README.html netlink-notify version.h
+
+release:
+ git archive --format=tar.xz --prefix=netlink-notify-$(VERSION)/ $(VERSION) > netlink-notify-$(VERSION).tar.xz
+ gpg -ab netlink-notify-$(VERSION).tar.xz