On Thu, 2014-04-24 at 20:19 +0200, Jilles Tjoelker wrote: > On Thu, Apr 24, 2014 at 12:14:06PM -0600, Ian Lepore wrote: > > On Thu, 2014-04-24 at 11:17 -0600, Justin T. Gibbs wrote: > > > Why wouldn’t we fix these with explicit subdir dependencies (e.g: > > > subdira: subdirb)? I’m pretty sure I had this working with a hacked > > > up bsd.subdir.mk at a previous job, but my memory is hazy. > > > I couldn't think of a way to do that, because the directory itself isn't > > the dependency. That is, whether one directory has a newer/older > > timestamp than the other isn't a function of the build process. The > > fact that someone else mentioned inserting .WAIT into the list is > > something I took as a confirmation that the regular dependency mechanism > > wouldn't work (so maybe I didn't think about it hard enough). > > You can add dependencies between the targets generated by bsd.subdir.mk: > ${target}_subdir_${subdir}. This will probably be more verbose in the > individual Makefiles than .WAIT, though. >
What I was hoping is that we would eventually sprinkle 3 or 4 or 5 strategic .WAITs throughout the source tree and it would all be good. Maybe that's too optimistic. -- Ian _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"