aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2e448a9..b6f79dd 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,8 @@ ALL_EGG_INFOS = \
$(HYDRILLA_WEBSITE_INFO) \
$(HYDRILLA_INFO)
+CONTAINER_PREREQUISITES = container.scm $(ALL_EGG_INFOS) hydrilla-wsgi.py
+
TEST_ROOT_DIR = "/tmp/$$(pwd | sed 's|/|!|g')"'!!test-root'
all: | container-runner.touchfile log sample-malcontent
@@ -45,8 +47,8 @@ $(HYDRILLA_WEBSITE_INFO):
$(HYDRILLA_INFO):
$(MAKE) -C subrepos/hydrilla dist
-container-runner: | container.scm $(ALL_EGG_INFOS) hydrilla-wsgi.py
-container-runner.touchfile: container.scm $(ALL_EGG_INFOS) hydrilla-wsgi.py
+container-runner: | $(CONTAINER_PREREQUISITES)
+container-runner.touchfile: $(CONTAINER_PREREQUISITES)
container-runner container-runner.touchfile:
$(MAKE) clean-runner
@@ -108,7 +110,7 @@ enter-container: pidfile
fake-client: fake-client-setup-mounts.sh hosts
unshare --map-root-user --mount ./$< "$${SHELL:-/bin/sh}"
-install: container.scm sdists
+install: $(CONTAINER_PREREQUISITES)
cp guix-container.sh /etc/init.d/guix-container
mkdir -p /usr/local/bin
if [ -e /usr/local/bin/guix-container ]; then \