From ffac3c6f103c9591a56ade41a11ad12df3b0541a Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Thu, 27 Aug 2020 23:39:54 +0700 Subject: [PATCH] main.mk: Added vm/, ve/ targets into everything target For check all targets. --- main.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.mk b/main.mk index 2bd38800..20f9c922 100644 --- a/main.mk +++ b/main.mk @@ -61,8 +61,10 @@ VE_TARGETS := $(call targets,ve) VM_TARGETS := $(call targets,vm) DISTROS := $(call addsuffices,$(DISTRO_EXTS),$(DISTRO_TARGETS)) VES := $(call addsuffices,$(VE_EXTS),$(VE_TARGETS)) +VES_TAR := $(call addsuffices,.tar,$(VE_TARGETS)) VMS := $(call addsuffices,$(VM_EXTS),$(VM_TARGETS)) \ $(call addsuffices,$(VM_TAVOLGA_EXTS), $(filter vm/tavolga-%, $(VM_TARGETS))) +VMS_IMG := $(call addsuffices,.img,$(VM_TARGETS)) IMAGES := $(DISTROS) $(VES) $(VMS) .PHONY: $(IMAGES) $(DISTRO_TARGETS) $(VE_TARGETS) $(VM_TARGETS) @@ -73,8 +75,8 @@ export LC_MESSAGES=C ### duplicate but still needed everything: - @n=1; sum=$(words $(DISTROS)); \ - for distro in $(DISTROS); do \ + @n=1; sum=$(words $(DISTROS) $(VES_TAR) $(VMS_IMG)); \ + for distro in $(DISTROS) $(VES_TAR) $(VMS_IMG); do \ echo "** building $$distro [$$n/$$sum]:"; \ $(MAKE) -f main.mk --no-print-directory $$distro; \ [ "$$n" -lt "$$sum" ] && echo; \