aboutsummaryrefslogtreecommitdiff
path: root/website/Makefile
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2021-06-05 20:25:46 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2021-06-08 22:52:50 +0000
commitc9c4fc4628a0d18d41fffb66a7f930f81653ef6b (patch)
tree4a13b1b84123d5e54e4243afa556a137586f863a /website/Makefile
parentc07f22064ddcee36820a5e7b32e45ca90e02cb3e (diff)
downloaddoc-c9c4fc4628a0d18d41fffb66a7f930f81653ef6b.tar.gz
doc-c9c4fc4628a0d18d41fffb66a7f930f81653ef6b.zip
Diffstat (limited to 'website/Makefile')
-rw-r--r--website/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/website/Makefile b/website/Makefile
index fbee771541..dd650f501a 100644
--- a/website/Makefile
+++ b/website/Makefile
@@ -22,9 +22,13 @@ RUBYLIB = ../shared/lib
.export RUBYLIB
.ifndef HOSTNAME
-.HOST+=localhost
+. ifdef BIND
+.HOST=$(BIND)
+. else
+.HOST=localhost
+. endif
.else
-.HOST+=$(HOSTNAME)
+.HOST=$(HOSTNAME)
.endif
.ORDER: all run