On Sun, Sep 07, 2008 at 11:17:51AM +0200, Stefano Zacchiroli wrote: > On Wed, Aug 20, 2008 at 01:51:20PM +0200, Sylvain Le Gall wrote: > > The solution we discussed was to find a test that can tell us what > > binaries are "ocamlc -custom" executable. If we can find them, we can > > warn packager that it should be rebuild without the deprecated option. > > To detect these files we must have a very simple script, lets call it > > "ocaml-custom-detect". The best option is that this script will be > > written using "sh" or "perl" (maybe having an ocaml executable is > > also be ok, we must see what is the easiest way). > > Rather than being a standalone script, it should obviously be a lintian > test (which in turn suggests it should be written in Perl). lintian is > exactly the place where this kind of tests should be put. >
I totally agree. I have commited a version of the script inside dh-ocaml. Feel free to modify it. However, it may be good to keep it as a shell script to be able to share it with other distro. We could just wrap its invocation into a shell script... Regards Sylvain Le Gall
signature.asc
Description: Digital signature