Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2003 17:54:17 +0200
From:      Pawel Jakub Dawidek <nick@garage.freebsd.pl>
To:        Tom Rhodes <trhodes@FreeBSD.org>
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: bsd.kmod.mk and manual pages.
Message-ID:  <20030826155417.GI47959@garage.freebsd.pl>
In-Reply-To: <20030826105621.31c83b95.trhodes@FreeBSD.org>
References:  <20030826082220.GG47959@garage.freebsd.pl> <20030826105621.31c83b95.trhodes@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <bsd.kmod.mk>
---[ 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--



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