aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-10-06 08:09:04 +0200
committerChristian Hesse <mail@eworm.de>2015-10-06 08:09:04 +0200
commite42d069327372c19381367998f28765b5e49d8b8 (patch)
tree90a2da3738df9bc56d2632e4d33f830688391d99 /Makefile
parenta7fd2b66fe946585b0c68d6185c60d029b6e63ab (diff)
downloadvis-e42d069327372c19381367998f28765b5e49d8b8.tar.gz
vis-e42d069327372c19381367998f28765b5e49d8b8.tar.xz
add a new Makefile target 'release' to build release tarball
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 866c67c..2ea4584 100644
--- a/Makefile
+++ b/Makefile
@@ -50,4 +50,7 @@ uninstall:
@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
@rm -f ${DESTDIR}${MANPREFIX}/man1/vis.1
+release:
+ git archive --format=tar.xz --prefix=vis-$(RELEASE)/ $(RELEASE) > vis-$(RELEASE).tar.xz
+
.PHONY: all clean dist install uninstall debug