Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Feb 2003 14:31:41 +0100
From:      phk@phk.freebsd.dk
To:        arch@freebsd.org
Subject:   Indiscriminately installing all .h files in /usr/include/*
Message-ID:  <18902.1044711101@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 08 Feb 2003 05:25:48 PST." <200302081325.h18DPmrB010982@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200302081325.h18DPmrB010982@repoman.freebsd.org>, Poul-Henning Kamp
 writes:
>phk         2003/02/08 05:25:48 PST
>
>  Modified files:
>    etc/mtree            BSD.include.dist 
>    include              Makefile 
>  Log:
>  Install geom include files.

Not being the kind of guy who casually walks through /usr/include
once in a while, I only now just discovered that "make installincludes"
indiscriminately installs all .h files under /usr/include.

I understand the desirablity of simple makefile magic for this task,
but couldn't we agree on some sort of magic-marker to put in files
we want or don't want installed in /usr/include ?

Obviously the least intrusive option is to add a "/* NO_USR_INCLUDE */"
in the files we don't want exported, but I would really prefer that
exportation of a .h file be an explicit action and therefore prefer
if the marker actually were "/* USR_INCLUDE */" in the files we want
exported.

Am I just being oldfashioned here ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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




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