diff --git a/Makefile b/Makefile index 5147089232..bf786929da 100644 --- a/Makefile +++ b/Makefile @@ -36,18 +36,12 @@ clean: clean-image ## remove build artifacts $(MAKE) -C static clean .PHONY: rpm -rpm: DOCKER_BUILD_PKGS:=$(shell find rpm -type d | grep ".*-.*" | sed 's/^rpm\///') rpm: ## build rpm packages - for p in $(DOCKER_BUILD_PKGS); do \ - $(MAKE) -C $@ VERSION=$(VERSION) ENGINE_DIR=$(ENGINE_DIR) CLI_DIR=$(CLI_DIR) GO_VERSION=$(GO_VERSION) $${p}; \ - done + $(MAKE) -C $@ VERSION=$(VERSION) ENGINE_DIR=$(ENGINE_DIR) CLI_DIR=$(CLI_DIR) GO_VERSION=$(GO_VERSION) rpm .PHONY: deb -deb: DOCKER_BUILD_PKGS:=$(shell find deb -type d | grep ".*-.*" | sed 's/^deb\///') deb: ## build deb packages - for p in $(DOCKER_BUILD_PKGS); do \ - $(MAKE) -C $@ VERSION=$(VERSION) ENGINE_DIR=$(ENGINE_DIR) CLI_DIR=$(CLI_DIR) GO_VERSION=$(GO_VERSION) $${p}; \ - done + $(MAKE) -C $@ VERSION=$(VERSION) ENGINE_DIR=$(ENGINE_DIR) CLI_DIR=$(CLI_DIR) GO_VERSION=$(GO_VERSION) deb .PHONY: static static: DOCKER_BUILD_PKGS:=static-linux cross-mac cross-win cross-arm diff --git a/deb/Makefile b/deb/Makefile index abf3f95a6f..2a6f5b3572 100644 --- a/deb/Makefile +++ b/deb/Makefile @@ -73,6 +73,7 @@ raspbian: $(RASPBIAN_VERSIONS) ## build all raspbian deb packages .PHONY: $(DISTROS) $(DISTROS): $(SOURCES) + @echo "== Building packages for $@ ==" $(BUILD) $(RUN) $(CHOWN) -R $(shell id -u):$(shell id -g) debbuild/$@ diff --git a/rpm/Makefile b/rpm/Makefile index 716f90a742..710919edad 100644 --- a/rpm/Makefile +++ b/rpm/Makefile @@ -71,6 +71,7 @@ centos: $(CENTOS_RELEASES) ## build all centos rpm packages .PHONY: $(FEDORA_RELEASES) $(CENTOS_RELEASES) $(FEDORA_RELEASES) $(CENTOS_RELEASES): $(SOURCES) + @echo "== Building packages for $@ ==" $(CHOWN) -R root:root rpmbuild $(BUILD) $(RUN)