aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 40a5816..8d8e956 100644
--- a/Makefile
+++ b/Makefile
@@ -39,12 +39,13 @@ channel-key.sentinel: paku.lock
src/org/euandre/packages.scm: paku.lock
paku guix > src/org/euandre/packages.scm
-result-packages.sentinel: src/org/euandre/packages.scm src/org/euandre/queue.scm
+result-packages result-packages.sentinel: \
+ src/org/euandre/packages.scm src/org/euandre/queue.scm
rm -f result-packages
guix build -r result-packages -v3 -Lsrc/ -K \
-f src/org/euandre/packages.scm \
-f src/org/euandre/queue.scm
- touch $@
+ touch result-packages.sentinel
local-files = \
/etc/postfix/master.cf \
@@ -59,21 +60,22 @@ internet-files = \
result-services.sentinel: result-local.sentinel result-internet.sentinel
touch $@
-result-local.sentinel: result-packages.sentinel
+result-local result-local.sentinel: result-packages.sentinel
rm -f result-local
guix system -v3 -Lsrc/ -K -r result-local build tests/local/system.scm
for f in $(local-files); do \
diff -U5 --color=always result-local$$f tests/local$$f; \
done
- touch $@
+ touch result-local.sentinel
-result-internet.sentinel: result-packages.sentinel $(test-config-files)
+result-internet result-internet.sentinel: \
+ result-packages.sentinel $(test-config-files)
rm -f result-internet
guix system -v3 -Lsrc/ -K -r result-internet build tests/internet/system.scm
for f in $(internet-files); do \
diff -U5 --color=always result-internet$$f tests/internet$$f; \
done
- touch $@
+ touch result-internet.sentinel
nix: default.nix result.sentinel
@@ -81,9 +83,9 @@ nix: default.nix result.sentinel
default.nix: paku.lock
paku nix > $@
-result.sentinel: default.nix
+result result.sentinel: default.nix
nix-build build.nix
- touch $@
+ touch result.sentinel
debian.mk: paku.lock