Re: gem2deb: support for building using setup.rb
Doh, I had too much backlog of this list's mail when I wrote my last
mail regarding rmagick :-P If I had seen it were actively worked
on...
Vincent Fourmond dijo [Wed, May 11, 2011 at 03:58:01PM +0200]:
> >>> But for rmagick, it seems that the hooks only deal with documentation
> >>> building. Wouldn't it be simpler to just run those scripts in the
> >>> correct order in debian/rules?
> >>
> >> Of course, it is still possible, but it requires quite a bit of
> >> cumbersome patching of the setup scripts, which I'd rather avoid.
> >
> > Why? You could call the hooks directly.
>
> No. They won't work, as the hooks are run with a series of
> setup.rb-supplied configuration informations. Those need to be supplied,
> probably once for each ruby version, and that makes that really painful.
Well, right now I'm calling the example scripts as if they were a test
suite, and it just works fine - With both Ruby versions and all. Yes,
I'm not building documentation, and rmagick's documentation is quite
worthy, but it should not be a major step.
Greetings,
Reply to: