"cd dir && $(MAKE)", not "cd dir; $(MAKE)"

Doug Evans dje@transmeta.com
Wed Dec 18 19:03:00 GMT 2002


DJ Delorie writes:
 > 
 > I agree that && is better than ;
 > 
 > but if the etc directory is missing yet needed, something else is
 > broken.  We should fix that problem first.

I dunno, I'd argue the other way. :-)
Let's fix the && vs ; problem first.
That way the missing directory problem will more readily stick out
(rather than make running on and on).

 > Why is your build trying to install a directory it hasn't built?  Mine
 > seems to work, unless I "rm -rf etc".  It seems the install targets
 > don't depend on the build targets (which is probably a reasonable
 > assumption).



More information about the Binutils mailing list