From owner-cvs-all Sun Feb 17 1:20:33 2002 Delivered-To: cvs-all@freebsd.org Received: from mppsystems.com (mppsystems.com [208.210.148.205]) by hub.freebsd.org (Postfix) with ESMTP id BFE2F37B416; Sun, 17 Feb 2002 01:20:28 -0800 (PST) Received: (from mpp@localhost) by mppsystems.com (8.11.6/8.11.6) id g1H9KSM69488; Sun, 17 Feb 2002 03:20:28 -0600 (CST) (envelope-from mpp) Date: Sun, 17 Feb 2002 03:20:27 -0600 From: Mike Pritchard To: Luigi Rizzo Cc: Ruslan Ermilov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man4 Makefile Message-ID: <20020217092027.GA68818@mppsystems.com> Mail-Followup-To: Mike Pritchard , Luigi Rizzo , Ruslan Ermilov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200202150836.g1F8a6P53451@freefall.freebsd.org> <20020215104025.A1139@sunbay.com> <20020215004331.B62826@iguana.icir.org> <20020215120056.A13211@sunbay.com> <20020215080106.A63564@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020215080106.A63564@iguana.icir.org> User-Agent: Mutt/1.3.24i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Feb 15, 2002 at 08:01:06AM -0800, Luigi Rizzo wrote: > On Fri, Feb 15, 2002 at 12:00:56PM +0200, Ruslan Ermilov wrote: > > > > > (wonder why the process cannot be made automatic...) > > > > > > > > > What do you mean? > > > > > > couldn't the Makefile derive a tentative list of targets by doing > > > > > > MAN=`ls *.4` > > > > > This would be bogus for a variety of reasons: > > > > 1. != type of assignment means ls(1) should be present in PATH during > > installworld, and we don't have it there (${STRICTTMPPATH}:${INSTALLTMP}). > > this is a very weak motivation. we already need a lot of stuff to be > in the path during the install (make, cp, compiler, mkdir, install, ...) > so i guess making sure there is ls as well command is no big deal. > For what matters, "echo *.4" (shell builtin) would do the job. > As for removing entries, of course we can use variable expansions > (maybe after creating the initial list, just to avoid cluttering too > much the code), and possibly put something in the *.mk files which > computes set differences. In the past we have had a lot of man pages not be installed from /usr/src/share/man* because someone forgot to add them to the makefile. This has also been true in other non-man page directories, /usr/src/lib/libc/* to name one. So having the process automated isn't a bad idea. If it is automated, then there has to be something in place so that we can exclude certain man pages from being built / installed. In the past I have had to comment out man pages from the makefiles for various reasons. E.g. the interface radically changed over a release, but the man page was not updated, or the interface was still under development and wasn't ready for prime time yet, or the man page was just plain broken, etc. -Mike -- Mike Pritchard mpp@FreeBSD.org or mpp@mppsystems.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message