Changeset 1359 in ProjectBuilder


Ignore:
Timestamp:
Nov 21, 2011, 4:19:42 AM (12 years ago)
Author:
Bruno Cornec
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1357 r1359  
    12471247            chmod 0755,"debian/rules";
    12481248
     1249            # We need to handle potential patches to upstream sources
     1250            pb_mkdir_p("$ENV{'PBBUILDDIR'}/debian/patches");
     1251            my @f = pb_extract_build_files($src2,"$pbpkg-$pbver/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/pbpatch/","$ENV{'PBBUILDDIR'}/debian/patches","patch");
     1252            # Generate Debian patch series
     1253            open(SERIE,"> $ENV{'PBBUILDDIR'}/debian/series") || die "Unable to write in $ENV{'PBBUILDDIR'}/debian/series";
     1254            foreach my $f (@f) {
     1255                print SERIE "$f\n";
     1256            }
     1257            close(SERIE);
     1258
     1259            # We need to handle potential additional sources to upstream sources
     1260            #pb_extract_build_files($src2,"$pbpkg-$pbver/pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}/pbsrc/","$ENV{'PBBUILDDIR'}/debian","src");
     1261
    12491262            pb_distro_installdeps("debian/control",$pbos);
    12501263            pb_system("dpkg-buildpackage -us -uc -rfakeroot","Building package","verbose");
Note: See TracChangeset for help on using the changeset viewer.