diff options
Diffstat (limited to 'tools/update/ampolish')
-rwxr-xr-x | tools/update/ampolish | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/update/ampolish b/tools/update/ampolish index 1fb5c3341f..265a3bc76c 100755 --- a/tools/update/ampolish +++ b/tools/update/ampolish @@ -84,7 +84,14 @@ while( <> ) } elsif ( /^[\s\t]*include[\s\t]*\$\(top_srcdir\)[\.\/]*automake\/(.*)\.am$/o ) { - # remove the line + if ( "$1" eq "lib" ) + { + print "include \$(top_srcdir)/${rtems_top}automake/$1.am\n" ; + } + } + elsif ( /^[\s\t]*include[\s\t]*\$\(RTEMS_ROOT\)\/make\/lib.cfg$/o ) + { + print "include \$(top_srcdir)/${rtems_top}automake/lib.am\n" ; } elsif ( /^[\s\t]*SUBDIRS.*$/o ) { |