]> git.cworth.org Git - lmno.games/blobdiff - Makefile
empires: Simply game for to require only a character name
[lmno.games] / Makefile
index fb39f7f4d518c0a1551a7e2a8445d809c84ba0e2..cac62148ceba6fd43870edfb4a65b43ddccf2e89 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 DEPLOY_HOST=lmno.games
 DEPLOY_DIR=/srv/lmno.games/www
 DO_NOT_DEPLOY="Makefile"
+DO_NOT_DELETE=flempires
 
 deploy:
        rm -rf .deploy-source
@@ -8,5 +9,8 @@ deploy:
        rm -rf .deploy-source/.git
        (cd .deploy-source; rsync -avz \
                --exclude=$(DO_NOT_DEPLOY) \
+               --exclude=$(DO_NOT_DELETE) \
+               --delete \
+               --delete-after \
                ./ $(DEPLOY_HOST):$(DEPLOY_DIR) )
        rm -rf .deploy-source