From 65ffc02eb7a293e0411c28f5f62cc3caa43ac728 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 2 May 2022 02:39:48 -0300 Subject: Makefile: Add $(FQDN) variable --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7729a82..a12a0f3 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ .POSIX: +FQDN = euandre.org + +.SILENT: fqdn .SUFFIXES: .SUFFIXES: .ly .flac .midi .ogg .pdf @@ -110,4 +113,7 @@ run: all $(JEKYLL) serve deploy: all - rsync -avzP public/ euandre.org:/home/user-data/www/default/ --delete + rsync -avzP public/ $(FQDN):/home/user-data/www/default/ --delete + +fqdn: + printf '$(FQDN)' -- cgit v1.2.3