Subject: Re: Correct build method?
To: Jared D. McNeill <>
From: Greg 'groggy' Lehey <>
List: current-users
Date: 12/27/2002 14:34:27
On Thursday, 26 December 2002 at 23:19:55 -0400, Jared D. McNeill wrote:
> On Thu, 2002-12-26 at 22:52, Greg 'groggy' Lehey wrote:
>>   cleandir ===> gnu/usr.bin/grep
>>   rm -f grep.o dfa.o kwset.o obstack.o savedir.o getopt.o getopt1.o search.o stpcpy.o regex.o grepmat.o  grep.ln dfa.ln kwset.ln obstack.ln savedir.ln getopt.ln getopt1.ln search.ln stpcpy.ln regex.ln grepmat.ln
>>   rm -f grep.1 grep.cat1
>>   rm -f a.out [Ee]rrs mklog core *.core .gdbinit grep
>>   rm: grep: is a directory
>>   *** Error code 1
> Looks like you didn't checkout the sources from CVS with the '-P' flag.
> Update your source tree with 'cvs -z3 update -dP' and try again.

I always use -Pd with updates, but I've never seen a need before with
initial checkouts.  Why is there an empty gnu/usr.bin/grep directory
in the repo?

Anyway, thanks for an answer to one of my questions.  It's still not
clear whether I should be using 'make build' or ./, and if the
latter, why.

Finger for PGP public key
See complete headers for address and phone numbers