Bug 17514 - Inconsistent behaviour of "make update" [PATCH]
Summary: Inconsistent behaviour of "make update" [PATCH]
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 5.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sheldon Hearn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-03-20 21:30 UTC by ue
Modified: 2000-08-15 18:51 UTC (History)
0 users

See Also:


Attachments
file.diff (532 bytes, patch)
2000-03-20 21:30 UTC, ue
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ue 2000-03-20 21:30:01 UTC
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
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-07 15:29:03 UTC
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.
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-07 15:35:51 UTC
State Changed
From-To: open->analyzed

Remind me to MFC this.
Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-15 18:51:07 UTC
State Changed
From-To: analyzed->closed

Merged onto RELENG_4 as rev 1.141.2.6 of Makefile.inc1 .