From owner-freebsd-arch Sat Feb 8 5:31:45 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 F0D1437B401 for ; Sat, 8 Feb 2003 05:31:43 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0788643F93 for ; Sat, 8 Feb 2003 05:31:43 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h18DVfqV018903 for ; Sat, 8 Feb 2003 14:31:41 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: arch@freebsd.org Subject: Indiscriminately installing all .h files in /usr/include/* From: phk@phk.freebsd.dk In-Reply-To: Your message of "Sat, 08 Feb 2003 05:25:48 PST." <200302081325.h18DPmrB010982@repoman.freebsd.org> Date: Sat, 08 Feb 2003 14:31:41 +0100 Message-ID: <18902.1044711101@critter.freebsd.dk> 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 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