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

Re: Parallel build results

On Sun, Dec 30, 2007 at 11:43:00PM +1100, Brendan O'Dea wrote:
> On Sun, Dec 02, 2007 at 11:13:53PM +0000, Ben Hutchings wrote:
> >It appears that ExtUtils::MakeMaker, a standard Perl module commonly
> >used to generate Makefiles for Perl modules, emits the rule:
> >
> >install :: all pure_install doc_install

>   install :: all
>           $(MAKE) pure_install doc_install

Both are buggy, because neither makes sure any of the _install targets have
their files built.  This means, trying to run "X_install" before or instead
of full "install" can break; that can happen if someone works on the package
or if there are separate binary-arch and binary-indep targets.

What about this:

install :: pure_install doc_install
pure_install: pure_build
doc_install: doc_build

(either pure_build or doc_build can be "all" if there's no easy way to
separate the main and doc builds)

1KB		// Microsoft corollary to Hanlon's razor:
		//	Never attribute to stupidity what can be
		//	adequately explained by malice.

Reply to: