"Vladimir Lipskiy" <[EMAIL PROTECTED]> writes:

[...]

> sub runstep {
>     my $inc = 'include/parrot';
>     
>     my @headers=(
>         sort
>         map  { m{\./$inc/(.*)} }
>         glob "./$inc/*.h"
>     );

in a non clean tree the generated files are picked up also. 
    
>     $_ = "\$(INC)/$_" for @headers;
>     my $nongen_headers = join("\\\n   ", @headers);

So the name nongen_headers is worng here

>     Configure::Data->set(
>         inc            => $inc,
>         nongen_headers => $nongen_headers,
>     );
> }

Non-generated headers should be found in MANIFEST so using maniread
might help here

     use ExtUtils::Manifest qw(maniread);

     my $inc = 'include/parrot';
     
     my @headers=(
         sort
         map  { m{$inc/(.*)} }
         keys %{maniread()}
     );

bye
boe
-- 
Juergen Boemmels                        [EMAIL PROTECTED]
Fachbereich Physik                      Tel: ++49-(0)631-205-2817
Universitaet Kaiserslautern             Fax: ++49-(0)631-205-3906
PGP Key fingerprint = 9F 56 54 3D 45 C1 32 6F  23 F6 C7 2F 85 93 DD 47

Reply via email to