mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 17:58:06 +00:00
Merge pull request #775 from nathanross/install-build-selection
default INSTALL to list of progs
This commit is contained in:
commit
84c435cadc
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
@ -3,8 +3,6 @@ PROFILE ?= debug
|
||||||
MULTICALL ?= n
|
MULTICALL ?= n
|
||||||
ifneq (,$(filter install, $(MAKECMDGOALS)))
|
ifneq (,$(filter install, $(MAKECMDGOALS)))
|
||||||
override PROFILE:=release
|
override PROFILE:=release
|
||||||
override BUILD:=$(INSTALL)
|
|
||||||
override DONT_BUILD:=$(DONT_INSTALL)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PROFILE_CMD :=
|
PROFILE_CMD :=
|
||||||
|
@ -175,11 +173,18 @@ TEST ?= $(TEST_PROGS)
|
||||||
TESTS := \
|
TESTS := \
|
||||||
$(sort $(filter $(TEST),$(filter-out $(DONT_TEST),$(TEST_PROGS))))
|
$(sort $(filter $(TEST),$(filter-out $(DONT_TEST),$(TEST_PROGS))))
|
||||||
|
|
||||||
|
INSTALL ?= $(PROGS)
|
||||||
BUSYTEST ?= $(PROGS)
|
BUSYTEST ?= $(PROGS)
|
||||||
|
|
||||||
|
ifneq (,$(filter install, $(MAKECMDGOALS)))
|
||||||
|
override BUILD:=$(INSTALL)
|
||||||
|
override DONT_BUILD:=$(DONT_INSTALL)
|
||||||
|
else
|
||||||
ifneq (,$(filter busytest, $(MAKECMDGOALS)))
|
ifneq (,$(filter busytest, $(MAKECMDGOALS)))
|
||||||
override BUILD:=$(BUSYTEST)
|
override BUILD:=$(BUSYTEST)
|
||||||
override DONT_BUILD:=$(DONT_BUSYTEST)
|
override DONT_BUILD:=$(DONT_BUSYTEST)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
define BUILD_EXE
|
define BUILD_EXE
|
||||||
build_exe_$(1):
|
build_exe_$(1):
|
||||||
|
|
Loading…
Reference in a new issue