docs/95975: Documentation in /usr/src/Makefile out of date

dpk at dpk.net dpk at dpk.net
Mon Apr 17 23:10:18 UTC 2006


>Number:         95975
>Category:       docs
>Synopsis:       Documentation in /usr/src/Makefile out of date
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 17 23:10:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     David Kirchner
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
None
>Environment:
System: FreeBSD dpk2.hosting.flyingcroc.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	The README file in /usr/src suggests that the most commonly used
target for 'make' is 'world', and instructs the user to read the Makefile
to learn how to rebuild their world.

The Makefile then suggests that the user simply run:

cd /usr/src
make world

However, this bails with an error suggesting that they're going about this
the wrong way:

bash-2.05b# make world
WARNING: make world will overwrite your existing FreeBSD
installation without also building and installing a new
kernel.  This can be dangerous.  Please read the handbook,
'Rebuilding world', for how to upgrade your system.
Define DESTDIR to where you want to install FreeBSD,
including /, to override this warning and proceed as usual.
You may get the historical 'make world' behavior by defining
HISTORICAL_MAKE_WORLD.  You should understand the implications
before doing this.

Bailing out now...
*** Error code 1

>How-To-Repeat:
	NA
>Fix:
	The documentation in README and Makefile should probably include
the URL to the handbook section that describes "Rebuilding world":

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

or simply not mention the "world" target at all.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list