[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Increasing regularity of build systems



Jonathan Walther wrote:
> On Tue, 14 Sep 1999, Ben Collins wrote:
> > These builds need something like:
> > 
> > 	if [ ! -f stamp-configure ]; then \
> > 		./configure ; \
> > 		touch stamp-configure; \
> > 	fi
> 
> What you want is:
> 
>  if [ \! -f config.status ]; then ./configure; fi

test -f $<config.status-or-whatever> || ./configure

would be the nicer one-liner

Regards,

	Joey

PS: I would appreciate its use as well, it sucks that some pkg's are
rebuilding everything if one only is working on a patch in to one
file

-- 
Let's call it an accidental feature.  --Larry Wall

Please always Cc to me when replying to me on the lists.


Reply to: