DEST := /var/www/wiki REMOTE := hbbs.decentral1.se RSYNC := rsync -chavzP --rsync-path="sudo -su www-data rsync" SRC := site/* .PHONY: build build: @mkdocs build .PHONY: publish publish: build $(RSYNC) $(SRC) $(REMOTE):$(DEST)