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
|
||||
ifneq (,$(filter install, $(MAKECMDGOALS)))
|
||||
override PROFILE:=release
|
||||
override BUILD:=$(INSTALL)
|
||||
override DONT_BUILD:=$(DONT_INSTALL)
|
||||
endif
|
||||
|
||||
PROFILE_CMD :=
|
||||
|
@ -175,11 +173,18 @@ TEST ?= $(TEST_PROGS)
|
|||
TESTS := \
|
||||
$(sort $(filter $(TEST),$(filter-out $(DONT_TEST),$(TEST_PROGS))))
|
||||
|
||||
INSTALL ?= $(PROGS)
|
||||
BUSYTEST ?= $(PROGS)
|
||||
|
||||
ifneq (,$(filter install, $(MAKECMDGOALS)))
|
||||
override BUILD:=$(INSTALL)
|
||||
override DONT_BUILD:=$(DONT_INSTALL)
|
||||
else
|
||||
ifneq (,$(filter busytest, $(MAKECMDGOALS)))
|
||||
override BUILD:=$(BUSYTEST)
|
||||
override DONT_BUILD:=$(DONT_BUSYTEST)
|
||||
endif
|
||||
endif
|
||||
|
||||
define BUILD_EXE
|
||||
build_exe_$(1):
|
||||
|
|
Loading…
Reference in a new issue