Re: [PATCH] perl/Makefile: update NO_PERL_MAKEMAKER section

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

 



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 <casey@xxxxxxxxxxxxxxx>
> 
> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux