Re: haskell-devscripts
On Thu, Feb 05, 2009 at 02:35:51PM -0200, Marco Túlio Gontijo e Silva wrote:
>
> --- dh_haskell_configure~ 2008-05-01 08:39:15.000000000 -0300
> +++ dh_haskell_configure 2009-02-05 13:18:20.000000000 -0200
> @@ -122,7 +122,10 @@
> print " CONFIGURING $package FOR $pkgtype";
> print "\n ****************************************** \n\n";
>
> - doit("./setup", "clean");
> + # ./setup clean will exit with error if there's no .buildinfo file
> + if (-e glob "*.buildinfo") {
> + doit("./setup", "clean");
> + }
This looks wrong to me: Many packages never generate a buildinfo file,
and "rm editline.buildinfo; ./Setup clean" exits successfully.
Thanks
Ian
Reply to: