Question

I'm starting to use Module::Build. During the build process I need to do value substitution in some files - changing paths based on installation location etc.

Cannot find anything in Module::Build documentation. I understand that I can extend Module::Build to do nearly anything, but is there some standard way how to do this?

Était-ce utile?

La solution

Create a Module::Build subclass and add an action to process your template. Override the appropriate targets to make that step a dependency. Start with Module::Build::Cookbook.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top