The comments in both /usr/src/Makefile.inc1 and /usr/src/Makefile.inc1 state that "make update" updates the source tree. Since rev. 1.77 of Makefile.inc1, a "make update" will also update the ports tree. There are good arguments for and against this behaviour. The same arguments are valid for the doc tree, too. The current version of Makefile.inc1 doesn't include code to update the doc tree during make update. The patch fixes this inconsistency. make update will update the source tree, the ports tree and the doc tree. The limitations of the original extension remain: PORTSSUPFILE/DOCSUPFILE need to be defined in make.conf; if you're cvsup'ing the ports or doc repository, a simple make update WON'T update your ports/doc tree. I've also added two knobs called NO_PORTUPDATE and NO_DOCUPDATE. Their purpose should be obvious. Tested by: make update make -DNO_PORTUPDATE update make -DNO_DOCUPDATE update make -DNO_PORTUPDATE -DNO_DOCUPDATE update How-To-Repeat: make update in /usr/src
Responsible Changed From-To: freebsd-bugs->sheldonh I'll take this one, although I'll be using NO_PORTSUPDATE instead of NO_PORTUPDATE for consistency.
State Changed From-To: open->analyzed Remind me to MFC this.
State Changed From-To: analyzed->closed Merged onto RELENG_4 as rev 1.141.2.6 of Makefile.inc1 .