mirror of
https://gitlab.com/EternalWanderer/voidcruiser.nl
synced 2025-06-08 06:04:23 +02:00
More flexible makefile
This commit is contained in:
parent
5373f338b9
commit
e1955d90f3
1 changed files with 2 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue