From 27f0319cad7493756eef43dbf67474048382a0ea Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 29 Nov 2022 12:56:11 +0100 Subject: correct the prerequisites for `install` target --- Makefile | 8 +++++--- 1 file 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 \ -- cgit v1.2.3