summaryrefslogtreecommitdiff
path: root/Makefile.config
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.config b/Makefile.config
index b5cf814a3b..15ed0ee60c 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -31,7 +31,7 @@ PROJECT_APIDOCDIR ?= $(PROJECT_DOCUMENTDIR)/api
##############################################################################
# Website setup
-WEBSITE_WWWROOT ?= $(shell pwd)/htdocs
+WEBSITE_WWWROOT ?= $(shell cd "$(dir $(PROJECT_HTDOCSDIR))"; pwd)/$(notdir $(PROJECT_HTDOCSDIR))
WEBSITE_DATA_INSTALLS ?= $(WEBSITE_SOURCEDIR)/downloads/installers.xml
WEBSITE_DATA_DISTRIBS ?= $(WEBSITE_SOURCEDIR)/downloads/distrib/distributions.xml