Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 1998 12:11:46 -0400
From:      Tim Vanderhoek <ac199@hwcn.org>
To:        Satoshi Asami <asami@FreeBSD.ORG>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Listing manpages in Makefiles
Message-ID:  <19980831121146.A2526@zappo>
In-Reply-To: <199808310945.CAA08994@silvia.hip.berkeley.edu>; from Satoshi Asami on Mon, Aug 31, 1998 at 02:45:24AM -0700
References:  <19980829011349.A13277@zappo> <199808310945.CAA08994@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 31, 1998 at 02:45:24AM -0700, Satoshi Asami wrote:
>  * I said 1) ports should use ``.include "somefile"'' to include the manpage
>  *           list.
> 
> Either that, or we can include it from bsd.port.mk.  Just a simple
> ".if exists(...) .include(...)" so it's not much work either way.

The one disadvantage to including it from bsd.port.mk is that MAN? and
MLINKS won't be available to the Makefile.  A number of ports seem to
have rules

.for z in ${MAN1}
	${INSTALL_MAN} ...
.endfor

I don't know how large the set-intersection is of ports that do
the above and ports that have so many manpages they would use
pkg/MEN.

The other reason I don't like including it from bsd.port.mk is that I
already find myself being hijacked by scripts that do patching,
configuring, etc..  It's nice if you can see right away from the
Makefile that the manpages are listed elsewhere.


>  * I would like to propose that the filename used be "files/manpages".
> 
> I thought you preferred "pkg/MEN"? :)

I personallly did.  I wasn't sure what others would make of it.  :-)


> MAN3+=	eek.3
> MAN3+=	yikes.3
> ===
> 
> could reduce the amount of manual labor of upgrading by making it
> easily scriptable (easy to keep it sorted and using "cvs diff" to see
> the changes too).

Sure, so long as you're planning to periodically enforce this format.  :)


-- 
This .sig is not innovative, witty, or profund.

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



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