From 6baa81ad99d137c78768dd30a1775c5afa6f210a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 24 Jul 2012 18:57:24 +0200 Subject: [PATCH] Released as v1.0 --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 80eeeeb..a63f72c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ VERSION=1.0 +ARCHIVE=xsv-$(VERSION).tar.gz PCRE_CFLAGS:=$(shell pcre-config --cflags) PCRE_LIBS:=$(shell pcre-config --libs) @@ -18,3 +19,11 @@ clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*` rm -f xsv xsv.1 rm -rf tmp + +release: + git tag v$(VERSION) + git push --tags + git archive --format=tar --prefix=xsv-$(VERSION)/ HEAD | gzip >$(ARCHIVE) + scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/ + ssh jw "cd www && bin/release-prog xsv $(VERSION)" + mv $(ARCHIVE) ~/archives/mj/ -- 2.39.2