Make files are both amazing and awful

This commit is contained in:
Nox Sluijtman 2022-08-18 14:37:33 +02:00
parent db00da210e
commit cbfa0d64b2

16
Makefile Normal file
View file

@ -0,0 +1,16 @@
src := public
target := voidcruiser.nl
push: $(target)
rsync -ahv $(target) voidDroplet:/var/www/ --delete
$(target): build
mv $(src) $(target)
build:
hugo
clean:
rm -rf $(target)
.PHONY := build push clean