[kw-pm] auto-deps for perl 'usr lib' directives in makefiles?
simon-kwpm at uc.org
simon-kwpm at uc.org
Wed Mar 30 11:13:07 PST 2005
Hey Robert,
Are you using ExtUtils::MakeMaker to create your make file? It has tags
for defining dependencies (PREREQ_.*)
i.e.
use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'BorkBork',
'PREREQ_PM' => {
'Some::Module' => 1.0.3,
},
);
re,
spd
* ON-Asterisk Mailing List / http://uc.org/asterisk *
On Wed, 30 Mar 2005, Eric - fishbot wrote:
> > is there a way (as with C include files) to have perl programs have
> > auto-dependencies that are processed by makefiles?
> >
> > example:
> >
> > use lib (..., ..., ...) ;
> > use module1 ;
> > use module2 ;
> > use module3 ;
> > ...
> >
> > obviously, this program might be dependent on changes in those libs,
> > and, while one can hardcode those .pm files into the makefile before
> > this program is run, is there a better way to do it?
> >
> > (i'm *really* tired this morning so i'm almost certainly barely
> > coherent.)
>
> Okay, I'll bite: You are running a perl application and
> handling dependencies from makefiles? Or creating a
> makefile to install a bundle of modules? I am really not
> clear on what your layout here is.
>
> Explain a little about how the system is structured, so that
> we can understand the problem? Particularly the phrase
> "this program might be dependent on changes in those libs"
> confuses me. If the libraries -do- change, what action
> should your makefile/app be performing?
>
> Eric
> _______________________________________________
> kw-pm mailing list
> kw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/kw-pm
>
More information about the kw-pm
mailing list