On Mon, Sep 11, 2006 at 02:57:54PM +0200, Philip Paeps wrote:
> On 2006-09-11 05:35:57 (+0000), Warner Losh <[EMAIL PROTECTED]> wrote:
> >   Log:
> >   Add a knob for compiling the tree -DNDEBUG.  This turns off all the
> >   asserts and makes binaries smaller.  The binaries also become
> >   repeatable again.  As it was, without this md5's of binaries built
> >   with different paths differed.
> >   
> >   # Where do I document this?
> 
> How about in the comment of src/Makefile[.inc1] where all the other toplevel
> flags are documented?
> 
Here's how you'd do it (if you were to do it before I did):

# cd src/tools/build/options
# sh ./makeman > /dev/null
no description found for WITHOUT_ASSERT_DEBUG, skipping

Now you were supposed to:

- Add the WITHOUT_ASSERT_DEBUG file with description.
- Re-run "sh ./makeman > foo"
- diff ../../../share/man/man5/src.conf.5 foo

If it looks sane:

# cvs add WITHOUT_ASSERT_DEBUG
# cvs commit WITHOUT_ASSERT_DEBUG
# sh ./makeman > ../../../share/man/man5/src.conf.5
# cd ../../../share/man/man5/
# cvs commit -m "Regen." src.conf.5


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer

Attachment: pgpcCMoedrYjb.pgp
Description: PGP signature

Reply via email to