From owner-freebsd-arch Tue Feb 19 13:27:56 2002 Delivered-To: freebsd-arch@freebsd.org Received: from orthanc.ab.ca (orthanc.ab.ca [216.123.203.186]) by hub.freebsd.org (Postfix) with ESMTP id 9B03737B41A for ; Tue, 19 Feb 2002 13:27:54 -0800 (PST) Received: from orthanc.ab.ca (localhost.orthanc.ab.ca [127.0.0.1]) by orthanc.ab.ca (8.11.6/8.11.6) with ESMTP id g1JLRie56618; Tue, 19 Feb 2002 14:27:44 -0700 (MST) (envelope-from lyndon@orthanc.ab.ca) Message-Id: <200202192127.g1JLRie56618@orthanc.ab.ca> From: Lyndon Nerenberg Organization: The Frobozz Magic Homing Pigeon Company To: Luca Di Vizio Cc: arch@FreeBSD.ORG Subject: Re: Improvements to "mtree" In-reply-to: Your message of "Tue, 19 Feb 2002 17:32:06 +0100." <20020219163205.GA15833@well13.cli.di.unipi.it> X-Mailer: mh-e 5.0.92; MH 6.8.4; Emacs 21.1 Date: Tue, 19 Feb 2002 14:27:44 -0700 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 >>>>> "Luca" == Luca Di Vizio writes: Luca> Hi all, Is there a project to substitute mtree with something Luca> better? For example if I exclude bind from the buildworld Luca> process, mtree creates anyway /etc/named ... Wouldn'it better Luca> to have something like "conditional installation"? Create seperate mtree files for the components under make.conf NO_* control. You can then wrap the Makefile mtree invocations for the NO_* components in conditionals: # fragment from /usr/src/etc/Makefile MTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \ BSD.var.dist BSD.x11.dist BSD.x11-4.dist .if !defined(NO_UUCP) MTREE+= BSD.uucp.dist .endif .if !defined(NO_SENDMAIL) MTREE+= BSD.sendmail.dist .endif .if !defined(NO_NAMED) MTREE+= BSD.named.dist .endif --lyndon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message