rschupp / PAR-Packer

(perl) Generate stand-alone executables, perl scripts and PAR files https://metacpan.org/pod/PAR::Packer
Other
48 stars 13 forks source link

Parallel build rules dependancy problem #7

Closed nfetisov closed 6 years ago

nfetisov commented 6 years ago

For parallel build modules must be installed into blib/ before make recurse into "myldr/". Make process myldr directory via 'subdirs ::' double-colons rule, according to http://web.mit.edu/gnu/doc/html/make_toc.html#SEC40 these rules are processed individually and in order they appear in the Makefile.

MY::postamble() function that was added into Makefile.PL by the the commit d4c4619 insert addition 'subdirs :: ' rule at the end of Makefile, and general 'subdirs ::' rule could be processed before it at some parallels levels of make. MY::depend() function should be used instead of MY::postamble() to place custom 'subdirs :: pm_to_blib' rule before automatic one.