diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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` |