From dde8c756a02710206626e1745f2d03e74ee7ec98 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 2 Jan 2014 15:25:05 +0100 Subject: add make release --- .gitignore | 2 ++ Makefile | 4 ++++ 2 files changed, 6 insertions(+) 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 -- cgit v1.2.3-70-g09d2