mirror of
https://gitlab.com/EternalWanderer/voidcruiser.nl
synced 2025-06-07 22:04:22 +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
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue