문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top