Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2003 23:25:59 +0100
From:      phk@phk.freebsd.dk
To:        Alfred Perlstein <bright@mu.org>
Cc:        Peter Wemm <peter@wemm.org>, arch@freebsd.org
Subject:   Re: Indiscriminately installing all .h files in /usr/include/* 
Message-ID:  <43624.1044915959@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 10 Feb 2003 14:15:01 PST." <20030210221501.GF88781@elvis.mu.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030210221501.GF88781@elvis.mu.org>, Alfred Perlstein writes:
>* Peter Wemm <peter@wemm.org> [030210 14:09] wrote:
>> > 
>> > If there was a way to do it via cpp defines inside the header that would
>> > be nice.
>> 
>> Something like this perhaps?
>> ^/* EXPORT_HEADER */$
>
>Yes, something like that.  I know of one company that brackets the
>headers with $COMPANY_PRIVATE for stuff that shouldn't be visible in
>/usr/include. if you wind up with an empty file it isn't even installed.

I would prefer labeling the stuff that should go into /usr/include,
it shouldn't be the default to export stuff unless you ask for it.

-- 
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?43624.1044915959>