diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-21 10:29:34 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-21 10:29:34 +0200 |
| commit | 7994149d79852571535d15f5ea7041ef76dd4b90 (patch) | |
| tree | 40e9d8eed4a0fccab536f98c3cff2385dd7dcee9 /Makefile | |
| parent | a9f3c8acf55984553e13e3343003717eaf1abc96 (diff) | |
| download | sebastiano.tronto.net-7994149d79852571535d15f5ea7041ef76dd4b90.tar.gz sebastiano.tronto.net-7994149d79852571535d15f5ea7041ef76dd4b90.zip | |
Added first blog post + makefile change to support local openrsync
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 |
