X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=a63f72c25adc368657f624404db46b1f4dba38d4;hb=6baa81ad99d137c78768dd30a1775c5afa6f210a;hp=80eeeebfa885f1414998552e9df00a0f91f9c4c4;hpb=a618ac038d9a85bf6a7d84d7b87e58bd81fe6af8;p=xsv.git 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/