diff --git a/tests/Makefile b/tests/Makefile index 8e574a32..47a0b24e 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -5,8 +5,8 @@ # Usage: # make archlinux flavor=gnome -# vagrant up archlinux-gnome -# vagrant ssh archlinux-gnome +# vagrant up arch-gnome +# vagrant ssh archl-gnome # Build variables flavor ?= @@ -18,12 +18,10 @@ PACKERS = $(notdir $(patsubst %.pkr.hcl,%,$(wildcard packer/*.pkr.hcl))) .PHONY: ${PACKERS} lint $(PACKERS): - @for name in ${@}; do \ - make --directory=../ package dist=$${name}; \ - packer build -force -var version=${VERSION} \ - -var disk_size=${disk} -var flavor="${flavor}" \ - -only=main.qemu.$${name}-${flavor} packer/; \ - done; + make --directory=../ package dist=${@} + packer build -force -var version=${VERSION} \ + -var disk_size=${disk} -var flavor="${flavor}" \ + -only=main.qemu.${@}-${flavor} packer/ lint: @packer fmt packer/