add Makefile

This commit is contained in:
Rico Ullmann 2019-03-23 19:07:48 +01:00
parent bc36a3b0ec
commit 84fe246397
Signed by: rullmann
GPG Key ID: 1C6E8C577C878C6F
1 changed files with 11 additions and 0 deletions

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
OUTPUTDIR=$(BASEDIR)/public
SSH_HOST=n-mail
SSH_USER=rullmann
SSH_TARGET_DIR=/var/www/ullmann.space/htdocs
ssh_upload:
rsync --delete -r --cvs-exclude --info=progress2 --rsync-path="sudo rsync" $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)/
server:
hugo server -D