aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-12-10 14:17:48 +0100
committerWojtek Kosior <koszko@koszko.org>2022-12-10 14:17:48 +0100
commitcb5ea9275ad2f25b78c6fc99ab75f3626ee752b9 (patch)
treecda3b5c24e3ee34fc176b2436c917a1bf9f772e3 /Makefile
parentb7034c1f9eacfb1294a068e2fbc4a4d406f742bb (diff)
downloadkoszko-org-server-cb5ea9275ad2f25b78c6fc99ab75f3626ee752b9.tar.gz
koszko-org-server-cb5ea9275ad2f25b78c6fc99ab75f3626ee752b9.zip
expose file downloads in hydrilla.koszko.org virtualhost
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6f1a149..6ae7ab6 100644
--- a/Makefile
+++ b/Makefile
@@ -67,6 +67,7 @@ sample-malcontent:
"$$(realpath $@)" | \
make -C subrepos/hydrilla shell-with-haketilo
+HYDRILLA_HTTP_ROOT_DIR = $(TEST_ROOT_DIR)/var/www/hydrilla.koszko.org/html
HYDRILLA_WEBSITE_ETC_DIR = $(TEST_ROOT_DIR)/etc/guix-container/hydrilla-website
MALCONTENT_DIR = $(TEST_ROOT_DIR)/var/lib/hydrilla/malcontent_dirs
@@ -78,6 +79,9 @@ prepare-test-root: sample-malcontent
printf 'This is dummy file for %s :D\n' "$$SITE" \
> $(TEST_ROOT_DIR)/var/www/"$$SITE"/html/index.html; \
done
+ mkdir -p $(HYDRILLA_HTTP_ROOT_DIR)/downloads
+ printf 'This is dummy file for hydrilla.koszko.org/downloads\n' \
+ > $(HYDRILLA_HTTP_ROOT_DIR)/downloads/index.html
@# Prepare replacement `/var/log`
mkdir -p $(TEST_ROOT_DIR)/var/log
@# Prepare replacement `/etc`