2006-10-14 Ralf Corsepius <ralf.corsepius@rtems.org>

* ampolish3.in: Check Makefile.am for SUBDIRS.
	Add all-am: for PREINSTALL_FILES.
This commit is contained in:
Ralf Corsepius
2006-01-14 06:10:51 +00:00
parent ef60f1ef98
commit a09b068cfc
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2006-10-14 Ralf Corsepius <ralf.corsepius@rtems.org>
* ampolish3.in: Check Makefile.am for SUBDIRS.
Add all-am: for PREINSTALL_FILES.
2006-10-12 Ralf Corsepius <ralf.corsepius@rtems.org>
* ampolish3.in: Add all: for PREINSTALL_FILES.

View File

@@ -106,7 +106,7 @@ foreach my $l ( @buffer1 ) {
}
# Check if Makefile.am already contains CLEANFILES or DISTCLEANFILES
if ( $l =~ /^\s*(CLEANFILES|DISTCLEANFILES)\s*\=.*$/o )
if ( $l =~ /^\s*(CLEANFILES|DISTCLEANFILES|SUBDIRS)\s*\=.*$/o )
{
$predefs{"$1"} = 1;
}
@@ -221,7 +221,7 @@ $output .= "endif\n\n";
foreach my $k ( keys %seen )
{
if ( $k =~ /PREINSTALL_FILES/o ) {
$output .= "all: \$(PREINSTALL_FILES) all-am\n\n";
$output .= "all-am: \$(PREINSTALL_FILES)\n\n";
$output .= "$k =\n";
$output .= "CLEANFILES ";