|go ahead... be a heretic|
ppport.h licensingby creamygoodness (Curate)
|on Dec 03, 2009 at 19:22 UTC ( #810915=perlquestion: print w/replies, xml )||Need Help??|
creamygoodness has asked for the wisdom of the Perl Monks concerning the following question:
The Devel::PPPort docs suggest distributing ppport.h directly rather than requiring the Devel::PPPort module as a prerequisite:
Don't direct the users of your module to download Devel::PPPort . They are most probably no XS writers. Also, don't make ppport.h optional. Rather, just take the most recent copy of ppport.h that you can find (e.g. by generating it with the latest Devel::PPPort release from CPAN), copy it into your project, adjust your project to use it, and distribute the header along with your module.
However, the copyright section of ppport.h indicates that it can only be distributed under something compatible with the Perl license:
I'd like to follow the suggestion in the docs, but the project I'm working on right now is hosted at Apache, so it carries the Apache license. I don't believe that we can distribute the generated file. I haven't misunderstood anything here, have I?
Other projects which generate code, e.g. Bison, sometimes allow you to distribute generated files:
It would be a stretch to describe ppport.h as "output", though.
Back to Seekers of Perl Wisdom