]> git.cworth.org Git - lmno.games/blob - empires/Makefile
f490fec3716a1ab17f5ad2d2f7054519497a8141
[lmno.games] / empires / Makefile
1 PUBLISH_HOST=cworth.org
2 PUBLISH_DIR=/srv/families.cworth.org/www
3
4 DO_NOT_PUBLISH="Makefile"
5
6 deploy:
7         rm -rf .deploy-source
8         git clone . .deploy-source
9         rm -rf .deploy-source/.git
10         (cd .deploy-source; rm $(DO_NOT_PUBLISH); rsync -avz ./ --delete --delete-after $(PUBLISH_HOST):$(PUBLISH_DIR) )
11         rm -rf .deploy-source