]> mj.ucw.cz Git - xsv.git/commitdiff
Released as v1.0
authorMartin Mares <mj@ucw.cz>
Tue, 24 Jul 2012 16:57:24 +0000 (18:57 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 24 Jul 2012 16:57:24 +0000 (18:57 +0200)
Makefile

index 80eeeebfa885f1414998552e9df00a0f91f9c4c4..a63f72c25adc368657f624404db46b1f4dba38d4 100644 (file)
--- 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/