[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: <pkg>-byte



Sven Luther <luther@dpt-info.u-strasbg.fr> writes:

 
>> What I had in mind is if the user apt-get install ocaml-zoggy and
>> ocaml-zoggy-byte is installed because no native version is available,
>> he may want to search for documentation in /usr/share/doc/ocaml-zoggy
>> rather than /usr/share/doc/ocaml-zoggy-byte.
>> 
>> This was just a thought, before I do anything because dpkg does not
>> want to replace dirs by symlinks and symlinks by dirs (for very good
>> reasons), so I must do the right thing at the beginning.
>
> Mmm, i didn't know about that. It makes sense to do it your way then.
>
> Now, what would be the cost in debian/rules ? You would just need to cp
> the directory and create the symlink just after doing dh_installdocs,
> right, not that expensive. Best would be if dh_installdocs could do this
> all by itself, with providing a simple option like :
>
> dh_installdocs -Lzoggy -pzoggy-byte
>
> or
>
> dh_installdocs -Lzoggy -i
>
> What do you think about it ?
>
> We could fill a (wishlist) bug against debhelper to have this
> implemented ?

Perhaps.

Maybe we could try to wait for everyone to give one's opinion
about this ?

Cheers,

-- 
Jérôme Marant

http://marant.org



Reply to: