Changeset 93d0ddd in rtems
- Timestamp:
- 08/29/14 01:39:29 (8 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 59990cc
- Parents:
- b597c0d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ampolish3
rb597c0d r93d0ddd 10 10 # Usage: ampolish3 Makefile.am > preinstall.am 11 11 # 12 # Reads a Makefile.am from stdin and writes corresponding 12 # Reads a Makefile.am from stdin and writes corresponding 13 13 # pre/tmpinstall rules to stdout. 14 14 … … 86 86 $dirmap{"\$\($1\)"} = replace($2); 87 87 } elsif ( $l =~ /^\s*noinst_(.*)\s*[\+]?\=(.*)$/o ) 88 { 88 { 89 89 #ignore: noinst_* are not relevant here. 90 90 } elsif ( $l =~ /^\s*(nodist_|dist_|)(project_|)([a-zA-Z0-9_]+)_(HEADERS|LIBRARIES|DATA|SCRIPTS|PROGRAMS)\s*([\+]?\=)\s*(.*)/o ) … … 218 218 $output .= "endif\n\n"; 219 219 220 foreach my $k ( keys %seen )220 foreach my $k ( sort keys %seen ) 221 221 { 222 222 if ( $k =~ /PREINSTALL_FILES/o ) { … … 259 259 { 260 260 my ($v) = @_; 261 foreach my $i ( keys %dirmap )261 foreach my $i ( sort keys %dirmap ) 262 262 { 263 263 $v =~ s/\Q$i/$dirmap{$i}/g;
Note: See TracChangeset
for help on using the changeset viewer.