A place to share magic spells
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

13 lines
232 B

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: wiki
wiki: build
$(RSYNC) $(SRC) $(REMOTE):$(DEST)