From 01cf5b63183e83dc0b78b28b170d5d47685b9d14 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 17 Jul 2010 23:25:03 +0200 Subject: [PATCH] Added `release' target and released as version 1.0 --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 4ac7804..7123fa3 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +VERSION=1.0 +ARCHIVE=osdd-$(VERSION).tar.gz + CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 all: osdd osdc osd-batt @@ -14,3 +17,9 @@ osd-batt: LDFLAGS+=-lX11 clean: rm -f *~ *.o TAGS core osdd osdc + +release: + git archive --format=tar --prefix=osdd-$(VERSION)/ HEAD | gzip >$(ARCHIVE) + scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/ + ssh jw "cd www && bin/release-prog osdd $(VERSION)" + mv $(ARCHIVE) ~/archives/mj/ -- 2.39.2