More flexible makefile

This commit is contained in:
Nox Sluijtman 2023-08-07 02:23:56 +02:00
parent 5373f338b9
commit e1955d90f3

View file

@ -1,8 +1,9 @@
src := public
target := voidcruiser.nl
host := voidDroplet
push: $(target)
rsync -ahv $(target) voidDroplet:/var/www/ --delete
rsync -ahv $(target) $(host):/var/www/ --delete
$(target): build
mv $(src) $(target)