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 f505a9b..297e368 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@
udev-block-notify
README.html
version.h
+udev-block-notify-*.tar.xz
+udev-block-notify-*.tar.xz.asc
diff --git a/Makefile b/Makefile
index 6214e53..25be769 100644
--- a/Makefile
+++ b/Makefile
@@ -37,3 +37,7 @@ install-doc: README.html
clean:
$(RM) -f *.o *~ README.html udev-block-notify version.h
+
+release:
+ git archive --format=tar.xz --prefix=udev-block-notify-$(VERSION)/ $(VERSION) > udev-block-notify-$(VERSION).tar.xz
+ gpg -ab udev-block-notify-$(VERSION).tar.xz