X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=4780a3e38c0c4c81afaee2199333e017205d65b5;hb=HEAD;hp=6ccd03ab267b8d213e16aeca78d1c820c0198cc9;hpb=31c7483c4c0970d8532ee94db7ae892affdac2e5;p=minsk.git diff --git a/Makefile b/Makefile index 6ccd03a..4780a3e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=1.0 +VERSION=1.1 ARCHIVE=minsk-$(VERSION).tar.gz CC=gcc @@ -8,15 +8,15 @@ CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -W all: minsk web: minsk - rsync -avzP . jw:www/minsk/ --exclude=.git --exclude=.*.swp --delete + 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 .#*`