diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -1,3 +1,5 @@ | |||
| 1 | DEST="tronto.net:/var/www/htdocs/sebastiano.tronto.net" | ||
| 2 | |||
| 1 | all: clean | 3 | all: clean |
| 2 | ./build.sh | 4 | ./build.sh |
| 3 | 5 | ||
| @@ -6,7 +8,7 @@ clean: | |||
| 6 | rm -r http | 8 | rm -r http |
| 7 | 9 | ||
| 8 | deploy: all | 10 | deploy: all |
| 9 | rsync -rv --delete --rsync-path=openrsync \ | 11 | rsync -rv --delete --rsync-path=openrsync http/ ${DEST} || \ |
| 10 | http/ tronto.net:/var/www/htdocs/sebastiano.tronto.net | 12 | openrsync -rv --delete --rsync-path=openrsync http/ ${DEST} |
| 11 | 13 | ||
| 12 | .PHONY: all clean deploy | 14 | .PHONY: all clean deploy |
