Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 04:42:09 +0300
From:      Giorgos Keramidas <charon@labs.gr>
To:        Mark Murray <mark@grondar.za>
Cc:        Peter Wemm <peter@wemm.org>, David Wolfskill <david@catwhisker.org>, current@FreeBSD.ORG
Subject:   Re: It's baaack... -- ("make: don't know how to make copies. Stop")
Message-ID:  <20011024044208.D35538@hades.hell.gr>
In-Reply-To: <200110231943.f9NJhTY15110@grimreaper.grondar.org>
References:  <20011023152715.54182380A@overcee.netplex.com.au> <200110231943.f9NJhTY15110@grimreaper.grondar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 23, 2001 at 08:43:29PM +0100, Mark Murray wrote:
> 
> Actually, it is possible for there to be no copies: target in
> src/share/examples/<something>. The copies: (actually copies::)
> target is built up in a .for loop that may be empty.
> 
> The fix is a dummy copies:: target.

I've tested the following patch, and it works like a charm.
At least, it let me build and install world with a clean /usr/obj :-)

    hades!sysop:[/usr/src/share/examples]# cvs -q dif -2cl | more
    Index: Makefile
    ===================================================================
    RCS file: /home/ncvs/src/share/examples/Makefile,v
    retrieving revision 1.29
    diff -2 -c -r1.29 Makefile
    *** Makefile    20 Oct 2001 04:18:13 -0000      1.29
    --- Makefile    22 Oct 2001 01:29:03 -0000
    ***************
    *** 22,25 ****
    --- 22,29 ----
      beforeinstall: etc-examples ${SHARED}

    + copies::
    +
    + symlinks::
    +
      .for dir in ${DIRS}
      FILES!=       find -L ${dir} \( -name CVS -prune \) -o -type f -print

-giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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