aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-11-25 17:12:24 +0100
committerWojtek Kosior <koszko@koszko.org>2022-11-25 17:12:24 +0100
commit854d7a333f845e181dcdd28df602de601abfe5a6 (patch)
treeb314d46d9fa752299e6e0b85ea327d083136d1b7 /Makefile
parent668dc3b9e42f417d51f125ae99363dbff8a61a84 (diff)
downloadkoszko-org-server-854d7a333f845e181dcdd28df602de601abfe5a6.tar.gz
koszko-org-server-854d7a333f845e181dcdd28df602de601abfe5a6.zip
add hydrillarepos.koszko.org virtualhost
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b0eb3a8..77fc3ae 100644
--- a/Makefile
+++ b/Makefile
@@ -71,8 +71,11 @@ MALCONTENT_DIR = $(TEST_ROOT_DIR)/var/lib/hydrilla/malcontent_dirs
prepare-test-root: sample-malcontent
rm -rf $(TEST_ROOT_DIR)
@# Prepare replacement `/var/www`
- mkdir -p $(TEST_ROOT_DIR)/var/www/koszko.org/html
- printf ':D\n' > $(TEST_ROOT_DIR)/var/www/koszko.org/html/index.html
+ for SITE in koszko.org hydrillarepos.koszko.org; do \
+ mkdir -p $(TEST_ROOT_DIR)/var/www/"$$SITE"/html; \
+ printf 'This is dummy file for %s :D\n' "$$SITE" \
+ > $(TEST_ROOT_DIR)/var/www/"$$SITE"/html/index.html; \
+ done
@# Prepare replacement `/var/log`
mkdir -p $(TEST_ROOT_DIR)/var/log
@# Prepare replacement `/etc`