From owner-freebsd-doc@FreeBSD.ORG Tue Aug 26 08:53:03 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 7629D16A4BF; Tue, 26 Aug 2003 08:53:03 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FE7E43FE9; Tue, 26 Aug 2003 08:52:58 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id CC5493ABB4F; Tue, 26 Aug 2003 17:54:17 +0200 (CEST) Date: Tue, 26 Aug 2003 17:54:17 +0200 From: Pawel Jakub Dawidek To: Tom Rhodes Message-ID: <20030826155417.GI47959@garage.freebsd.pl> References: <20030826082220.GG47959@garage.freebsd.pl> <20030826105621.31c83b95.trhodes@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="TOmSpbqtysumMR8M" Content-Disposition: inline In-Reply-To: <20030826105621.31c83b95.trhodes@FreeBSD.org> X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE-p3 i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i cc: freebsd-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: Tue, 26 Aug 2003 15:53:03 -0000 --TOmSpbqtysumMR8M Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? I want to create Makefile for kernel module: ---[ Makefile start ]--- KMOD=3D foo SRCS=3D foo.c MAN=3D foo.4 =2Einclude ---[ Makefile end ]--- 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'. For example bsd.prog.mk know how to handle 'MAN' variable. So my question is: Is there some clean way to prepare Makefile which will handle module with manual page? --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --TOmSpbqtysumMR8M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBP0uCqT/PhmMH/Mf1AQHEFAP9GO6kKx5/W/ehInv+YNAMeClTzigc908J 4EAKxjZRqGrqG8/UEdAUqVDAbAGBHjvD7inPVWffFkb1fNphQZb41l2lgDQkBjBA W7QmjklacluIj/RbGCwk43RtCyAYZhMIlwAg+SHz7XStsBEu5eWxt/mDfAhfXkEJ GRqLD0Ia50E= =06R0 -----END PGP SIGNATURE----- --TOmSpbqtysumMR8M--