Re: RFS: ocp-indent -- OCaml indentation tool for emacs and vim
Le 06/03/2014 15:50, Johannes Schauer a écrit :
> Maybe it would help to have Lintian warn about these things?
>
> I'm currently working on making Lintian support build profiles so maybe when
> I'm done with that I could integrate some ocaml checks which would've avoided
> me making the mistakes I initially did:
>
> - warn if a dependency on ocaml lib is explicitly added even though dh_ocaml
> is used
> - warn if there is a cma without a cmxs in a runtime package
> - warn about any other combination of "X was installed but without Y" in dev
> packages
Great.
>>> Are you also saying that I do not need to create the two packages
>>> libocp-indent-lib-ocaml and libocp-indent-lib-ocaml-dev but that only
>>> libocp-indent-lib-ocaml-dev with all the files is enough? From reading [1]
>>> it seems that splitting it into a lib and a dev package is only advised if
>>> a shared library is involved which is not the case here.
>>
>> This is indeed what I'm saying. But keep in mind that if someone later
>> writes a plugin using libocp-indent-lib-ocaml-dev for a program not
>> using it, nor the OCaml toolchain, the second package might be needed.
>>
>> Whether you create the second package now or later, on demand, is up to
>> you :-)
>
> I see. I will leave them separate for now. I pushed my changes to git.
>
> I submitted my current patch to Makefile.simple to upstream [1].
One more thing: could you set Maintainer to "Debian OCaml Maintainers"
and put your name in Uploaders? Of course, this is just a suggestion ;-)
> Thanks a lot for the help :)
Thanks a lot for your involvement :)
Cheers,
--
Stéhane
Reply to: