From owner-freebsd-hackers Tue Jun 25 2:36: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 8E9DC37B409 for ; Tue, 25 Jun 2002 02:34:39 -0700 (PDT) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id g5P9YcW25682 for ; Tue, 25 Jun 2002 11:34:38 +0200 (MEST) Date: Tue, 25 Jun 2002 11:34:37 +0200 (CEST) From: Harti Brandt To: hackers@freebsd.org Subject: Installing headers and man pages for kmods Message-ID: <20020625112754.F395-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, is there a canonical way to do this? Some time ago the ability to install man pages was removed from kmod.mk. This is reasonable for the system itself, but for third party packages this either forces one to poke in the internals of /usr/share/mk (not an exciting experience) or to fit the source layout to the one expected by the system. The latter is not so nice if you have let's say 6 netgraph nodes, each one with a header file and a man page. You get the c files in 6 per node directories, the man pages in another directory, the header files in a third one. Given, that they are strongly related to each other this is rather unfortunate. At the moment I managed it to include the relevant make file (bsd.man.mk and bsd.incs.mk) from Makefile.inc, but as I suppose, this possibility may be removed at any time. Given that this seems to work, wouldn't it be possible to remove the bsd.init.mk check from those files, so that they can be included from Makefile? Regards, harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message