From owner-freebsd-doc@FreeBSD.ORG Mon Sep 1 00:13:34 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A0D516A4BF for ; Mon, 1 Sep 2003 00:13:34 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87DAF43FBF for ; Mon, 1 Sep 2003 00:13:27 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h817DK86034265 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 1 Sep 2003 10:13:23 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h817DKlR034260; Mon, 1 Sep 2003 10:13:20 +0300 (EEST) (envelope-from ru) Date: Mon, 1 Sep 2003 10:13:20 +0300 From: Ruslan Ermilov To: nick@garage.freebsd.pl Message-ID: <20030901071320.GF30277@sunbay.com> References: <20030901064611.A3167@phantom.cris.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kR3zbvD4cgoYnS/6" Content-Disposition: inline In-Reply-To: <20030901064611.A3167@phantom.cris.net> User-Agent: Mutt/1.5.4i cc: doc@FreeBSD.org Subject: Re: bsd.kmod.mk and manual pages. X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2003 07:13:34 -0000 --kR3zbvD4cgoYnS/6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 01, 2003 at 06:46:11AM +0300, Alexey Zelkin wrote: > ----- Forwarded message from Pawel Jakub Dawidek = ----- >=20 > Date: Tue, 26 Aug 2003 17:54:17 +0200 > From: Pawel Jakub Dawidek > To: Tom Rhodes > Cc: freebsd-doc@freebsd.org > Subject: Re: bsd.kmod.mk and manual pages. >=20 > On Tue, Aug 26, 2003 at 10:56:21AM -0400, Tom Rhodes wrote: > +> Usually driver manual pages are added to section four, and then > +> they are built with the Makefile from that location. > +>=20 > +> Or did I misinterpret your question? >=20 > I want to create Makefile for kernel module: >=20 > ---[ Makefile start ]--- > KMOD=3D foo > SRCS=3D foo.c > MAN=3D foo.4 >=20 > .include > ---[ Makefile end ]--- >=20 > As you can see, manual page is in the same directory, but bsd.kmod.mk > ignores 'MAN' variable, so manual page isn't gziped on 'make' nor > installed on 'make install'. >=20 > For example bsd.prog.mk know how to handle 'MAN' variable. >=20 > So my question is: Is there some clean way to prepare Makefile which will > handle module with manual page? >=20 Pawel, The short answer is NO, you should put your manpage in share/man/man4/. The long answer is that it was decided that bsd.kmod.mk will not handle manpages anymore, as it's likely that src/sys/modules/ will disappear at some point completely. : revision 1.112 : date: 2002/01/11 15:48:36; author: ru; state: Exp; lines: +2 -16 : Drop support from . : Not objected to by: -current Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --kR3zbvD4cgoYnS/6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/UvGPUkv4P6juNwoRApnwAJsGGDqrA8gXXW6mj/BtQywE/cemFgCfVVgv CFcQWRVsOp2MSfJYCNYXZUE= =Djx0 -----END PGP SIGNATURE----- --kR3zbvD4cgoYnS/6--