- Make default target "make stage" if staging supported.

This is so that 'make' followed by 'make deinstall install' will, by default,
  have a much shorter period of files missing on the system as it is without
  staging.

Discussed with:	bapt
With hat:	portmgr
This commit is contained in:
Bryan Drewery 2014-04-16 16:29:38 +00:00
parent 99631c4b6e
commit a189085d53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351399
2 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,12 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
20140416:
AUTHOR: bdrewery@FreeBSD.org
The default target for 'make' now runs 'make stage' if the port supports
it, otherwise 'make build' as before.
20140411:
AUTHOR: bdrewery@FreeBSD.org

View File

@ -3165,7 +3165,11 @@ all:
.endif
.if !target(all)
. if defined(NO_STAGE)
all: build
. else
all: stage
. endif
.endif
.if !defined(DEPENDS_TARGET)