From 0f7b07e716648bd563b71d58584273d3ced0c987 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 2 Jan 2014 15:29:33 +0100 Subject: add make release --- .gitignore | 2 ++ Makefile | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 87a5b1c..592c2d3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ config.h avahi/pacdbserve.service README.html version.h +paccache-*.tar.xz +paccache-*.tar.xz.asc diff --git a/Makefile b/Makefile index 1d3e08f..1990fa3 100644 --- a/Makefile +++ b/Makefile @@ -63,3 +63,7 @@ clean: distclean: $(RM) -f *.o *~ arch pacredir avahi/pacdbserve.service README.html version.h config.h + +release: + git archive --format=tar.xz --prefix=paccache-$(VERSION)/ $(VERSION) > paccache-$(VERSION).tar.xz + gpg -ab paccache-$(VERSION).tar.xz -- cgit v1.2.3-70-g09d2