X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=4780a3e38c0c4c81afaee2199333e017205d65b5;hb=HEAD;hp=be93308ccf615f9c26c26024882fd75ee7e007a1;hpb=8d8380fc77e0e2f9b9d21e8a23d3d583d4e303e1;p=minsk.git diff --git a/Makefile b/Makefile index be93308..4780a3e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=1.0 +VERSION=1.1 ARCHIVE=minsk-$(VERSION).tar.gz CC=gcc @@ -7,16 +7,16 @@ CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -W all: minsk -web: - rsync -avzP . jw:www/minsk/ --exclude=.git --exclude=.*.swp --delete +web: minsk + rsync -avzP . jw:www/ext/minsk/ --exclude=.git --exclude=.*.swp --delete release: git tag v$(VERSION) git push --tags git archive --format=tar --prefix=minsk-$(VERSION)/ HEAD | gzip >$(ARCHIVE) - scp $(ARCHIVE) atrey:~ftp/pub/local/mj/minsk/ - ssh jw "cd www && bin/release-prog minsk $(VERSION)" - mv $(ARCHIVE) ~/archives/mj/ + scp $(ARCHIVE) jw:~ftp/pub/mj/minsk/ + ssh jw "cd web && bin/release-prog minsk $(VERSION)" + mv $(ARCHIVE) ~/archives/sw/minsk/ clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name core -or -name .depend -or -name .#*`