X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=Makefile;h=cac62148ceba6fd43870edfb4a65b43ddccf2e89;hp=fb39f7f4d518c0a1551a7e2a8445d809c84ba0e2;hb=20c213c065cd264b12f2b7e042e0b2fe7443b656;hpb=ab1f9903376d346bd6230f03169408464ee7b526 diff --git a/Makefile b/Makefile index fb39f7f..cac6214 100644 --- 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