automake-ng
[Top][All Lists]
Advanced

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

Re: [Automake-NG] [PATCH 03/14] [ng] clean: simplify cleaning of compile


From: Akim Demaille
Subject: Re: [Automake-NG] [PATCH 03/14] [ng] clean: simplify cleaning of compiled objects
Date: Thu, 21 Jun 2012 14:35:46 +0200

Le 21 juin 2012 à 12:32, Stefano Lattarini a écrit :

OK.

> +    my @mostly_rms = map { "\t-rm -f $_" } sort keys %compile_clean_files;
>     my ($coms, $vars, $rules) =
>       &file_contents_internal (1, "$libdir/am/compile.am",
>                              new Automake::Location,
> -                            ('STDINC' => ! option 'nostdinc',
> -                             'MOSTLYRMS' => join ("\n", @mostly_rms),
> -                             'DISTRMS' => join ("\n", @dist_rms)));
> +                            'STDINC' => ! option 'nostdinc',
> +                            'MOSTLYRMS' => join ("\n", @mostly_rms));
>     $output_vars .= $vars;
>     $output_rules .= "$coms$rules";
> }


Given that that the minimum command line length is probably known,
I suppose we can do much more that one file per rm.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]