From owner-freebsd-arch Mon Feb 10 14:15: 3 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 221FB37B40F for ; Mon, 10 Feb 2003 14:15:02 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B96A743F75 for ; Mon, 10 Feb 2003 14:15:01 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 98CFDAE2C1; Mon, 10 Feb 2003 14:15:01 -0800 (PST) Date: Mon, 10 Feb 2003 14:15:01 -0800 From: Alfred Perlstein To: Peter Wemm Cc: phk@phk.freebsd.dk, arch@freebsd.org Subject: Re: Indiscriminately installing all .h files in /usr/include/* Message-ID: <20030210221501.GF88781@elvis.mu.org> References: <20030210184934.GW88781@elvis.mu.org> <20030210220905.D5CA32A8C2@canning.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030210220905.D5CA32A8C2@canning.wemm.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Peter Wemm [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. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message