From ee00e82a0312b75079080b233d0a6045720b45b2 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 2 Jan 2014 15:26:39 +0100 Subject: add make release --- .gitignore | 2 ++ Makefile | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 5c59d97..54dcbbe 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ config.h mpd-notification README.html version.h +mpd-notification-*.tar.xz +mpd-notification-*.tar.xz.asc diff --git a/Makefile b/Makefile index 1d059c7..e71ea33 100644 --- a/Makefile +++ b/Makefile @@ -44,3 +44,7 @@ clean: distclean: $(RM) -f *.o *~ README.html mpd-notification version.h config.h + +release: + git archive --format=tar.xz --prefix=mpd-notification-$(VERSION)/ $(VERSION) > mpd-notification-$(VERSION).tar.xz + gpg -ab mpd-notification-$(VERSION).tar.xz -- cgit v1.2.3-70-g09d2