From: Brandon Casey Date: Wed, 23 Jul 2008 16:22:47 GMT Subject: Re: [PATCH] perl/Makefile: update NO_PERL_MAKEMAKER section Message-ID: In-Reply-To: <20080722230940.GK32184@machine.or.cz> Petr Baudis wrote: > On Tue, Jul 22, 2008 at 04:15:41PM -0500, Brandon Casey wrote: >> The perl modules must be copied to blib/lib so they are available for >> testing. >> >> Signed-off-by: Brandon Casey > > I don't understand why do you need to do this; perl.mak should do this > on its own during project-wide make all. perl.mak is auto-generated by one of two methods in perl/Makefile. This patch modifies the 'NO_PERL_MAKEMAKER' section. Currently 'make all', when NO_PERL_MAKEMAKER is set, does nothing, and looks like: $ cat perl.mak all: : install: mkdir -p ... With this patch it looks like: $ cat perl.mak all: private-Error.pm Git.pm mkdir -p blib/lib rm -f blib/lib/Git.pm; cp Git.pm blib/lib/ rm -f blib/lib/Error.pm; cp private-Error.pm blib/lib/Error.pm install: mkdir -p ... -brandon