X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=7123fa3e085290c249c6c5e28acd1f2cace210fb;hb=01cf5b63183e83dc0b78b28b170d5d47685b9d14;hp=4ac7804dade0aa5ece7d6b788088df529070d534;hpb=ad76ccd81d34015fe248954757eb97c5d977a2a0;p=osdd.git 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/