]> mj.ucw.cz Git - minsk.git/commitdiff
Makefile: Updated release process
authorMartin Mares <mj@ucw.cz>
Sun, 24 Apr 2022 19:27:54 +0000 (21:27 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 24 Apr 2022 19:38:45 +0000 (21:38 +0200)
Makefile

index 6ccd03ab267b8d213e16aeca78d1c820c0198cc9..64f89679327f6b1918ab33513762d146d2e916e9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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 .#*`