voidcruiser.nl/Makefile

18 lines
245 B
Makefile
Raw Normal View History

2022-08-18 14:37:33 +02:00
src := public
target := voidcruiser.nl
2023-08-07 02:23:56 +02:00
host := voidDroplet
2022-08-18 14:37:33 +02:00
push: $(target)
2023-08-07 02:23:56 +02:00
rsync -ahv $(target) $(host):/var/www/ --delete
2022-08-18 14:37:33 +02:00
$(target): build
mv $(src) $(target)
2022-09-11 13:32:29 +02:00
build: clean
2022-08-18 14:37:33 +02:00
hugo
clean:
2022-08-18 15:28:04 +02:00
rm -rf $(src) $(target)
2022-08-18 14:37:33 +02:00
.PHONY := build push clean