summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-01-02 15:29:33 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-01-02 15:29:33 +0100
commit0f7b07e716648bd563b71d58584273d3ced0c987 (patch)
treece50eea6f5d8b9fb0d2bdc675e94d5a8f3f3696c
parent9929d74da19521284badb5e3b25083007981ee18 (diff)
downloadpacredir-0f7b07e716648bd563b71d58584273d3ced0c987.tar.gz
pacredir-0f7b07e716648bd563b71d58584273d3ced0c987.tar.zst
add make release
-rw-r--r--.gitignore2
-rw-r--r--Makefile4
2 files changed, 6 insertions, 0 deletions
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