mirror of
https://gitlab.com/EternalWanderer/voidcruiser.nl
synced 2024-11-28 20:03:50 +01:00
More flexible makefile
This commit is contained in:
parent
5373f338b9
commit
e1955d90f3
3
Makefile
3
Makefile
|
@ -1,8 +1,9 @@
|
||||||
src := public
|
src := public
|
||||||
target := voidcruiser.nl
|
target := voidcruiser.nl
|
||||||
|
host := voidDroplet
|
||||||
|
|
||||||
push: $(target)
|
push: $(target)
|
||||||
rsync -ahv $(target) voidDroplet:/var/www/ --delete
|
rsync -ahv $(target) $(host):/var/www/ --delete
|
||||||
|
|
||||||
$(target): build
|
$(target): build
|
||||||
mv $(src) $(target)
|
mv $(src) $(target)
|
||||||
|
|
Loading…
Reference in a new issue