forked from Imagelibrary/rtems
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:
@@ -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.
|
||||
|
||||
@@ -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 ";
|
||||
|
||||
Reference in New Issue
Block a user