From ed0a621e64cc22becc6f182528994d778161ff7f Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 17 Jul 2010 23:00:54 +0200 Subject: [PATCH] make release --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 9df7568..f9f76a1 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +VERSION=1.0 +ARCHIVE=siplog-$(VERSION).tar.gz + CC=gcc LD=gcc CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 -fPIC @@ -11,3 +14,9 @@ siplog.so: siplog.o clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*` rm -f siplog.so + +release: + git archive --format=tar --prefix=siplog-$(VERSION)/ HEAD | gzip >$(ARCHIVE) + scp $(ARCHIVE) atrey:~ftp/pub/local/mj/net/ + ssh jw "cd www && bin/release-prog siplog $(VERSION)" + mv $(ARCHIVE) ~/archives/mj/ -- 2.39.2