diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 59 |
1 files changed, 48 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am index 5ffcb6a12d..922913355c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,7 +7,7 @@ # Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> # Copyright © 2017 Leo Famulari <leo@famulari.name> # Copyright © 2017 Ricardo Wurmus <rekado@elephly.net> -# Copyright © 2017, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> +# Copyright © 2017, 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org> # Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net> # Copyright © 2018 Nikita <nikita@n0.is> # Copyright © 2018 Julien Lepiller <julien@lepiller.eu> @@ -454,6 +454,7 @@ EXAMPLES = \ gnu/system/examples/desktop.tmpl \ gnu/system/examples/lightweight-desktop.tmpl \ gnu/system/examples/docker-image.tmpl \ + gnu/system/examples/plasma.tmpl \ gnu/system/examples/raspberry-pi-64.tmpl \ gnu/system/examples/raspberry-pi-64-nfs-root.tmpl \ gnu/system/examples/vm-image.tmpl @@ -615,6 +616,7 @@ SH_TESTS = \ tests/guix-refresh.sh \ tests/guix-shell.sh \ tests/guix-shell-export-manifest.sh \ + tests/guix-time-machine.sh \ tests/guix-graph.sh \ tests/guix-describe.sh \ tests/guix-repl.sh \ @@ -696,8 +698,7 @@ EXTRA_DIST += \ build-aux/compile-all.scm \ build-aux/compile-as-derivation.scm \ build-aux/config.rpath \ - build-aux/convert-xref.scm \ - build-aux/cuirass/hurd-manifest.scm \ + build-aux/convert-xref.scm \ build-aux/generate-authors.scm \ build-aux/test-driver.scm \ build-aux/update-NEWS.scm \ @@ -707,6 +708,7 @@ EXTRA_DIST += \ etc/guix-install.sh \ etc/historical-authorizations \ etc/news.scm \ + etc/hurd-manifest.scm \ etc/kernels-manifest.scm \ etc/release-manifest.scm \ etc/source-manifest.scm \ @@ -774,15 +776,30 @@ endef # in <https://issues.guix.gnu.org/48963>. Each 'eval' call below creates a # 'make-*-go' phony target that builds the corresponding subset. -first_half := \ - gnu/packages/a% gnu/packages/b% gnu/packages/c% gnu/packages/d% \ - gnu/packages/e% gnu/packages/f% gnu/packages/g% gnu/packages/h% \ - gnu/packages/i% gnu/packages/j% gnu/packages/k% gnu/packages/l% +first_fifth := \ + gnu/packages/a% gnu/packages/b% gnu/packages/c% + +second_fifth := \ + gnu/packages/d% gnu/packages/e% gnu/packages/f% + +third_fifth := \ + gnu/packages/g% gnu/packages/h% gnu/packages/i% + +fourth_fifth := \ + gnu/packages/j% gnu/packages/k% gnu/packages/l% gnu/packages/m% \ + gnu/packages/n% gnu/packages/o% MODULES_CORE := guix.scm $(filter-out guix/scripts/%,$(filter guix/%,$(MODULES))) -MODULES_PACKAGES1 := $(filter $(first_half),$(MODULES)) -MODULES_PACKAGES2 := $(filter-out $(first_half),$(filter gnu/packages/%,$(MODULES))) -MODULES_PACKAGES := $(MODULES_PACKAGES1) $(MODULES_PACKAGES2) +MODULES_PACKAGES1 := $(filter $(first_fifth),$(MODULES)) +MODULES_PACKAGES2 := $(filter $(second_fifth),$(MODULES)) +MODULES_PACKAGES3 := $(filter $(third_fifth),$(MODULES)) +MODULES_PACKAGES4 := $(filter $(fourth_fifth),$(MODULES)) +MODULES_PACKAGES5 := $(filter-out $(first_fifth) $(second_fifth) \ + $(third_fifth) $(fourth_fifth), \ + $(filter gnu/packages/%,$(MODULES))) +MODULES_PACKAGES := $(MODULES_PACKAGES1) $(MODULES_PACKAGES2) \ + $(MODULES_PACKAGES3) $(MODULES_PACKAGES4) \ + $(MODULES_PACKAGES5) MODULES_SYSTEM := gnu.scm $(filter-out gnu/packages/%,$(filter gnu/%,$(MODULES))) MODULES_CLI := $(filter guix/scripts/%,$(MODULES)) MODULES_PO := guix/build/po.scm @@ -802,7 +819,27 @@ $(eval $(call guile-compilation-rule,make-packages2-go, \ $(words $(MODULES_CORE) $(MODULES_PACKAGES1)))) .PHONY: make-packages2-go -make-packages-go: make-packages1-go make-packages2-go +$(eval $(call guile-compilation-rule,make-packages3-go, \ + $(MODULES_PACKAGES3) make-core-go make-packages1-go make-packages2-go, \ + $(words $(MODULES_CORE) $(MODULES_PACKAGES1) $(MODULES_PACKAGES2)))) +.PHONY: make-packages3-go + +$(eval $(call guile-compilation-rule,make-packages4-go, \ + $(MODULES_PACKAGES4) make-core-go make-packages1-go make-packages2-go \ + make-packages3-go, \ + $(words $(MODULES_CORE) $(MODULES_PACKAGES1) $(MODULES_PACKAGES2) \ + $(MODULES_PACKAGES3)))) +.PHONY: make-packages4-go + +$(eval $(call guile-compilation-rule,make-packages5-go, \ + $(MODULES_PACKAGES5) make-core-go make-packages1-go make-packages2-go \ + make-packages3-go make-packages4-go, \ + $(words $(MODULES_CORE) $(MODULES_PACKAGES1) $(MODULES_PACKAGES2) \ + $(MODULES_PACKAGES3) $(MODULES_PACKAGES4)))) +.PHONY: make-packages5-go + +make-packages-go: make-packages1-go make-packages2-go \ + make-packages3-go make-packages4-go make-packages5-go .PHONY: make-packages-go $(eval $(call guile-compilation-rule,make-system-go, \ |