summaryrefslogtreecommitdiffstats
path: root/tools/build/ampolish3.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/ampolish3.in')
-rwxr-xr-xtools/build/ampolish3.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/build/ampolish3.in b/tools/build/ampolish3.in
index b65e649255..eb46800d8a 100755
--- a/tools/build/ampolish3.in
+++ b/tools/build/ampolish3.in
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! @PERL@ -w
# Helper script to generate pre/tmpinstall rules for cpukit Makefile.am.
#
@@ -68,7 +68,7 @@ foreach my $l ( @buffer1 ) {
$dirmap{"\$\($1\)"} = replace($2);
} elsif ( $l =~ /^\s*noinst_(.*)\s*[\+]?\=(.*)$/o )
{ #ignore: noinst_* are not relevant here.
- } elsif ( $l =~ /^\s*(nodist_|dist_|)(project_|)(include)_(HEADERS)\s*\=(.*)/o )
+ } elsif ( $l =~ /^\s*(nodist_|dist_|)(project_|)(include|lib)_(HEADERS|LIBRARIES)\s*\=(.*)/o )
{
push @buffer2, "$3dir = \$($3dir)\n";
push @buffer2, "$l";