diff --git a/tests/Makefile b/tests/Makefile index 7e4a440c..d595eff2 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -13,11 +13,11 @@ flavor ?= disk ?= 10G VERSION := 0.$(shell git rev-list --count HEAD)-1 -PACKERS = $(notdir $(patsubst %.pkr.hcl,%,$(wildcard packer/*.pkr.hcl))) +BASE = archlinux debian ubuntu opensuse -.PHONY: ${PACKERS} lint +.PHONY: ${BASE} lint -$(PACKERS): +$(BASE): make --directory=../ package dist=${@} packer build -force -var version=${VERSION} \ -var disk_size=${disk} -var flavor="${flavor}" \