summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6433bd9f..f29db0b5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,17 @@
-.PHONY: test tw/system/%.test tw/home/%.test
+.PHONY: test tw/system/%.test tw/home/%.test images tw/system/installer/%.image
systems = $(wildcard tw/system/*.scm)
homes = $(wildcard tw/home/*.scm)
+installers = $(wildcard tw/system/installer/*.scm)
test: $(homes:.scm=.test) $(systems:.scm=.test)
+images: $(installers:.scm=.image)
tw/home/%.test: tw/home/%.scm
guix home build -nL $(CURDIR) $<
tw/system/%.test: tw/system/%.scm
guix system build -nL $(CURDIR) $<
+
+tw/system/installer/%.image: tw/system/installer/%.scm
+ guix system image -L $(CURDIR) -t iso9660 --label=GUIX_$$(date -Idate) $<