From ec7de9c4e836a91afbd4d75aa7f075adaad4ea3f Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Tue, 1 Feb 2022 11:10:07 +0100 Subject: [PATCH] Rename TARGETS make variable to DISTRIBUTIONS Signed-off-by: Evan Lezar --- build/container/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build/container/Makefile b/build/container/Makefile index 47bb01dd..ed76835a 100644 --- a/build/container/Makefile +++ b/build/container/Makefile @@ -31,15 +31,15 @@ IMAGE = $(IMAGE_NAME):$(IMAGE_TAG) ##### Public rules ##### DEFAULT_PUSH_TARGET := ubuntu18.04 -TARGETS := ubuntu20.04 ubuntu18.04 ubi8 centos7 centos8 +DISTRIBUTIONS := ubuntu20.04 ubuntu18.04 ubi8 centos7 centos8 META_TARGETS := packaging -BUILD_TARGETS := $(patsubst %,build-%,$(TARGETS) $(META_TARGETS)) -PUSH_TARGETS := $(patsubst %,push-%,$(TARGETS) $(META_TARGETS)) -TEST_TARGETS := $(patsubst %,test-%, $(TARGETS)) +BUILD_TARGETS := $(patsubst %,build-%,$(DISTRIBUTIONS) $(META_TARGETS)) +PUSH_TARGETS := $(patsubst %,push-%,$(DISTRIBUTIONS) $(META_TARGETS)) +TEST_TARGETS := $(patsubst %,test-%, $(DISTRIBUTIONS)) -.PHONY: $(TARGETS) $(PUSH_TARGETS) $(BUILD_TARGETS) $(TEST_TARGETS) +.PHONY: $(DISTRIBUTIONS) $(PUSH_TARGETS) $(BUILD_TARGETS) $(TEST_TARGETS) push-%: DIST = $(*) $(PUSH_TARGETS): push-%: