Makefile (418B)
1 HEADER = "templates/_header.html" 2 FOOTER = "templates/_footer.html" 3 TITLE = "e1e0.net" 4 SRC_FOLDER = "src" 5 DEST_FOLDER ?= "htmlOut" 6 REMOTE ?= "elrond.h.e1e0.net:/app_data/www/htdocs/www.e1e0.net/" 7 8 .PHONY: sync 9 10 build: 11 ssnail \ 12 -h ${HEADER} \ 13 -f ${FOOTER} \ 14 -i -r \ 15 -t ${TITLE} \ 16 -u https://${TITLE}/ \ 17 ${SRC_FOLDER} \ 18 ${DEST_FOLDER} 19 20 sync: 21 rsync \ 22 -av \ 23 --delete \ 24 ${DEST_FOLDER}/ \ 25 ${REMOTE}