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 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