Subject: Re: pkgsrc build breakages (was Re: ALL_TARGET -> BUILD_TARGET)
To: None <tech-pkg@NetBSD.org>
From: Jukka Salmi <j+nbsd@2004.salmi.ch>
List: tech-pkg
Date: 12/08/2004 00:44:35
Douglas Wade Needham --> tech-pkg (2004-12-07 18:07:19 -0500):
> As for the command to find the ALL_TARGET, I ran the following command
> in my pkgsrc tree to produce the list and the count:
> 
>    find . -type f -print0 | xargs -0 grep -l ALL_TARGET | \
>         tee ~/tmp/ALL_TARGET.lst | wc -l
> 
> I am wondering if there are not a bunch of Makefile updates pending
> for me right now.  However, to answer that question, I did a fresh
> 'cvs co pkgsrc' on the head of the tree (I almost never work off the
> branches, since I develop packages) into another directory, and did
> the same command.  I still get 205 total hits from that same command.

If you omit the -l option to grep you'll see the (numerous) matches
you don't want to count, e.g. INSTALL_TARGET.

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~