aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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`