Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 1999 16:50:01 -0700 (PDT)
From:      Chris Costello <chris@holly.dyndns.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/11035: Man page indices are built even when NOMAN is set.
Message-ID:  <199904082350.QAA13271@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/11035; it has been noted by GNATS.

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   *
 =============================================
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904082350.QAA13271>