Changeset 1130 in ProjectBuilder for devel/pb/lib/ProjectBuilder/Filter.pm


Ignore:
Timestamp:
Dec 22, 2010, 4:01:42 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • First attempt to fix both #74 and #10 by adding support for additional files under a pbsrc dir, that can be manipulated at build time.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/Filter.pm

    r1044 r1130  
    177177            }
    178178            $tmp = "";
     179        } elsif (($s =~ /^PBMULTISRC$/) && ($line =~ /^PBMULTISRC$/)) {
     180            pb_log(3,"DEBUG filtering PBMULTISRC\n");
     181            my $i = 1;
     182            foreach my $p (split(/,/,$pb->{'sources'}->{$pb->{'tuple'}})) {
     183                print DEST "Source$i:         ".basename($p)."\n";
     184                $i++;
     185            }
     186            $tmp = "";
    179187        } elsif (($s =~ /^PBPATCHCMD$/) && ($line =~ /^PBPATCHCMD$/)) {
    180188            pb_log(3,"DEBUG filtering PBPATCHCMD\n");
Note: See TracChangeset for help on using the changeset viewer.