On 29/10/02 14:50 -0800, James Michael DuPont wrote: > > --- Brian Ingerson <[EMAIL PROTECTED]> wrote: > > On 29/10/02 13:33 -0800, James Michael DuPont wrote: > > > > > > --- James Michael DuPont <[EMAIL PROTECTED]> wrote: > > > > Everything is possible with CPAN::MakeMaker!!! > > > > > > > > Brian, I have been experimenting with the prefixes, > > > > everything is happy, except my configuration directory. > > > > > > > > I will need to add a new install target into the > > > > makefile to say something like this: > > > > > > > > > > I had to ditch ExtTools::MakeMaker and CPAN::MakeMaker to get this > > to > > > work. I generated the makefiles and modified them manually to do > > what > > > it should do. It is very difficult to debug the makefile, because I > > > don't know what section of the code was responsable for generating > > what > > > makefile section. > > > > I think there should be a way to do what you want with CP::MM. I > > mean, > > not at the moment, but in the future. I think it would be neat to > > supply > > an API that would expose the Makefile as an object and let you tweak > > it. > > Give me some time to think about it. > > Please dump the representation of the makefile and project object when > it has all the information loaded into memory into a YAML document. > Then we can edit the YAML document in a GUI, load it back into memory > with a freeze thaw interface, and presto, we have meta-programmed the > project interface.
Interesting idea. Wrong mailing list ;) I'm looking into building a pure Perl version of gmake. It will use object oriented modules. You could use these yourself to parse and rewrite the Makefile. And you could always serialize the object in YAML. Cheers, Brian