Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 14:27:44 -0700
From:      Lyndon Nerenberg <lyndon@orthanc.ab.ca>
To:        Luca Di Vizio <divizio@cli.di.unipi.it>
Cc:        arch@FreeBSD.ORG
Subject:   Re: Improvements to "mtree" 
Message-ID:  <200202192127.g1JLRie56618@orthanc.ab.ca>
In-Reply-To: Your message of "Tue, 19 Feb 2002 17:32:06 %2B0100." <20020219163205.GA15833@well13.cli.di.unipi.it> 

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Luca" == Luca Di Vizio <divizio@cli.di.unipi.it> 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




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