aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-02 02:39:48 -0300
committerEuAndreh <eu@euandre.org>2022-05-02 02:40:29 -0300
commit65ffc02eb7a293e0411c28f5f62cc3caa43ac728 (patch)
treecc67b0abd958fec539db6abb6480727e0cfcb3dd /Makefile
parent_plugins/linter.rb: Disable some assertions (diff)
downloadeuandre.org-65ffc02eb7a293e0411c28f5f62cc3caa43ac728.tar.gz
euandre.org-65ffc02eb7a293e0411c28f5f62cc3caa43ac728.tar.xz
Makefile: Add $(FQDN) variable
Diffstat (limited to '')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
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)'