From 3f31ed361201b0caad0f012d487f9bac2642f5c8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 2 Jan 2014 15:20:09 +0100 Subject: add make release --- .gitignore | 2 ++ Makefile | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 7aa2e29..07b736a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ dyndhcpd config.h README.html version.h +dyndhcpd-*.tar.xz +dyndhcpd-*.tar.xz.asc diff --git a/Makefile b/Makefile index d6e87d5..19d0bd4 100644 --- a/Makefile +++ b/Makefile @@ -42,3 +42,7 @@ clean: distclean: $(RM) -f *.o *~ dyndhcpd README.html version.h config.h + +release: + git archive --format=tar.xz --prefix=dyndhcpd-$(VERSION)/ $(VERSION) > dyndhcpd-$(VERSION).tar.xz + gpg -ab dyndhcpd-$(VERSION).tar.xz -- cgit v1.2.3-70-g09d2