httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: new one: rwrite on aix with 1.3
Date Mon, 01 Mar 2004 22:35:58 GMT
Geoffrey Young wrote:
>>the leading '-' tells make to ignore any errors. removing it makes the
>>error fatal. 
> 
> 
>>-            print $fh "$dir-$targ:\n\t-cd $dir && \$(MAKE) $targ\n\n";
>>+            print $fh "$dir-$targ:\n\tcd $dir && \$(MAKE) $targ\n\n";
> 
> 
> I always thought that the - only applied to the cd command (in this case)
> and wouldn't distribute across the &&.  but make certainly isn't one of my
> better areas.

Command line prefixes always apply to the whole line so you can read them as:

   -(cd $dir && \$(MAKE) $targ)

like in verbosity level:

   @cd $dir && \$(MAKE) $targ

but I had no idea that '-' makes things non-fatal ;)

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message