mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
This is because we already have a dist directory, and in our wrapper makefile we have to mark 'DIST' as phony target. https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html Reviewed-by: Dominik Perpeet <dperpeet@redhat.com>
12 lines
233 B
Text
12 lines
233 B
Text
# This redirects all make targets to builddir
|
|
.PHONY: dist
|
|
all:
|
|
$(MAKE) $(ARG) -C $(REDIRECT) all
|
|
dist:
|
|
$(MAKE) $(ARG) -C $(REDIRECT) dist
|
|
%:
|
|
$(MAKE) $(ARG) -C $(REDIRECT) $@
|
|
ifeq ($(MAKEFLAGS), )
|
|
ARG = -j8
|
|
endif
|
|
# REDIRECT=build
|