diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-01-12 09:54:27 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-01-12 09:54:27 +0000 |
commit | 87b133a8ce4c0e2cd69de5209a89e6343f6d9eb3 (patch) | |
tree | 3e8d037c47311ca77049afa2df0bc029d5112c32 /tools/build/ampolish3.in | |
parent | New. (diff) | |
download | rtems-87b133a8ce4c0e2cd69de5209a89e6343f6d9eb3.tar.bz2 |
2006-10-12 Ralf Corsepius <ralf.corsepius@rtems.org>
* ampolish3.in: Add all: for PREINSTALL_FILES.
Add all-local for TMPINSTALL_FILES.
Misc bug fixes.
Diffstat (limited to '')
-rwxr-xr-x | tools/build/ampolish3.in | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/tools/build/ampolish3.in b/tools/build/ampolish3.in index 162a96a364..e86f6a8711 100755 --- a/tools/build/ampolish3.in +++ b/tools/build/ampolish3.in @@ -220,21 +220,29 @@ $output .= "endif\n\n"; foreach my $k ( keys %seen ) { - $output .= "$k =\n"; - if ( $k =~ /.*FILES/o ) { + if ( $k =~ /PREINSTALL_FILES/o ) { + $output .= "all: \$(PREINSTALL_FILES) all-am\n\n"; + + $output .= "$k =\n"; $output .= "CLEANFILES "; - if ( $predefs{"CLEANFILES"} ) { - $output .= "+"; - $predefs{"CLEANFILES"} = 1; - } + if ( $predefs{"CLEANFILES"} ) { $output .= "+"; } $output .= "= \$($k)\n"; + $predefs{"CLEANFILES"} = 1; + } elsif ( $k =~ /TMPINSTALL_FILES/o ) { + + $output .= "all-local: \$(TMPINSTALL_FILES)\n\n"; + + $output .= "$k =\n"; + $output .= "CLEANFILES "; + if ( $predefs{"CLEANFILES"} ) { $output .= "+"; } + $output .= "= \$($k)\n"; + $predefs{"CLEANFILES"} = 1; } elsif ( $k =~ /.*DIRS/o ) { + $output .= "$k =\n"; $output .= "DISTCLEANFILES "; - if ( $predefs{"DISTCLEANFILES"} ) { - $output .= "+"; - $predefs{"DISTCLEANFILES"} = 1; - } + if ( $predefs{"DISTCLEANFILES"} ) { $output .= "+"; } $output .= "= \$($k)\n"; + $predefs{"DISTCLEANFILES"} = 1; } $output .= "\n"; } |