From des@niobe.ewox.org Thu Apr  8 16:11:30 1999
Return-Path: <des@niobe.ewox.org>
Received: from niobe.ewox.org (ppp108.uio.no [129.240.240.113])
	by hub.freebsd.org (Postfix) with ESMTP id C3A4314CC7
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  8 Apr 1999 16:11:09 -0700 (PDT)
	(envelope-from des@niobe.ewox.org)
Received: (from root@localhost)
	by niobe.ewox.org (8.9.3/8.9.1) id BAA54887;
	Fri, 9 Apr 1999 01:04:17 +0200 (CEST)
	(envelope-from des)
Message-Id: <199904082304.BAA54887@niobe.ewox.org>
Date: Fri, 9 Apr 1999 01:04:17 +0200 (CEST)
From: des@flood.ping.uio.no
Sender: des@niobe.ewox.org
Reply-To: des@flood.ping.uio.no
To: FreeBSD-gnats-submit@freebsd.org
Subject: Man page indices are built even when NOMAN is set.
X-Send-Pr-Version: 3.2

>Number:         11035
>Category:       bin
>Synopsis:       Man page indices are built even when NOMAN is set.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr  8 16:10:00 PDT 1999
>Closed-Date:    Sun Apr 11 14:48:31 PDT 1999
>Last-Modified:  Sun Apr 11 14:48:43 PDT 1999
>Originator:     Dag-Erling Smorgrav
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

FreeBSD 3.1 and 4.0

>Description:

'make installworld' tries to rebuild the man page indices even when NOMAN
is defined.

>How-To-Repeat:

# cd /usr/src
# make installworld -DNOMAN

observe the last five lines of output.

>Fix:
	
Make the relevant bits conditional on NOMAN.


>Release-Note:
>Audit-Trail:

From: Chris Costello <chris@holly.dyndns.org>
To: des@flood.ping.uio.no
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/11035: Man page indices are built even when NOMAN is set.
Date: Thu, 8 Apr 1999 18:39:55 -0500

 On Thu, Apr 8, 1999, des@flood.ping.uio.no wrote:
 > 
 > >Number:         11035
 > >Category:       bin
 > >Synopsis:       Man page indices are built even when NOMAN is set.
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Thu Apr  8 16:10:00 PDT 1999
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Dag-Erling Smorgrav
 > >Release:        FreeBSD 4.0-CURRENT i386
 > >Organization:
 > >Environment:
 > 
 > FreeBSD 3.1 and 4.0
 > 
 > >Description:
 > 
 > 'make installworld' tries to rebuild the man page indices even when NOMAN
 > is defined.
 > 
 > >How-To-Repeat:
 > 
 > # cd /usr/src
 > # make installworld -DNOMAN
 > 
 > observe the last five lines of output.
 
    For those of us who are too lazy ;)
 
 /usr/src$ make -f Makefile.inc1 -m /usr/src/share/mk -n reinstall -DNOMAN
 echo "--------------------------------------------------------------"
 echo ">>> Making hierarchy"
 echo "--------------------------------------------------------------"
 cd /usr/src; make -f Makefile.inc1 hierarchy
 echo
 echo "--------------------------------------------------------------"
 echo ">>> Installing everything.."
 echo "--------------------------------------------------------------"
 cd /usr/src; make -f Makefile.inc1 install
 echo
 echo "--------------------------------------------------------------"
 echo ">>> Rebuilding man page indexes"
 echo "--------------------------------------------------------------"
 cd /usr/src/share/man; make makedb
 
 > >Fix:
 
    A patch (as applies to Makefile.inc1) would be:
 
 --- /tmp/Makefile.inc1.orig	Thu Apr  8 18:27:39 1999
 +++ /usr/src/Makefile.inc1	Thu Apr  8 18:28:17 1999
 @@ -365,11 +365,13 @@
  	@echo "--------------------------------------------------------------"
  	-cd ${.CURDIR}; /sbin/ldconfig -R
  .endif
 +.if !defined(NOMAN)
  	@echo
  	@echo "--------------------------------------------------------------"
  	@echo ">>> Rebuilding man page indexes"
  	@echo "--------------------------------------------------------------"
  	cd ${.CURDIR}/share/man; ${MAKE} makedb
 +.endif
  
  #
  # update
 
 > Make the relevant bits conditional on NOMAN.
 > 
 > 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > 
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-bugs" in the body of the message
 > 
 
 -- 
 =============================================
 * "This process can check if this value is  *
 *  zero, and if it is, it does something    *
 *  child-like." -Forbes Burkowski, CS 454   *
 =============================================
 
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Sun Apr 11 14:48:31 PDT 1999 
State-Changed-Why:  
Fixed. 
>Unformatted:
