From e1955d90f37eb5cd53b0d621cd9dec4bc1f25c58 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Mon, 7 Aug 2023 02:23:56 +0200 Subject: [PATCH] More flexible makefile --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8035daa..3298a0d 100644 --- a/Makefile +++ b/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)