in reply to RE: Make vs. Perl
in thread Make vs. Perl

What about a module that gives me a make interface I can use from a script that does other things. I guess I could just do a system("make $foo") or "cons $foo" or whatever, but I was hoping for a module with a real API to set up dependancies and then fullfill them. I suppose this is what you're talking about. I'll take a look at that. I was hoping for something that wasn't so inbred with Make's horrendous syntax for pattern matching and whatnot...

-Ted

Replies are listed 'Best First'.
RE: RE: Make vs. Perl
by knight (Friar) on Nov 16, 2000 at 00:47 UTC
    Cons has been talking for a long time about moving to an architecture like you're describing--a modular build engine to manage dependencies, with plug-in modules for various dependency scanners, compile tools, etc. The consensus among that community is that itwould be a Good Thing, but no one has actually had time or energy to go ahead and do it.

    I agree completely about the hassles arising from Make.pm being so closely tied to Make's syntax.

    I'm not sure what you want to do in Perl that you couldn't do within a Cons config file itself, since it's just a Perl script. You shouldn't need to do a separate system("cons $foo").