build.pl (9e23756f) | build.pl (81f46d5d) |
---|---|
1: 2 eval 'exec perl -S $0 ${1+"$@"}' 3 if 0; 4#************************************************************** 5# 6# Licensed to the Apache Software Foundation (ASF) under one 7# or more contributor license agreements. See the NOTICE file 8# distributed with this work for additional information --- 3540 unchanged lines hidden (view full) --- 3549 3550sub is_gnumake_module { 3551 my $module = shift; 3552 my $bridgemakefile = $source_config->get_module_path($module) . "/prj/makefile.mk"; 3553 return (-e $bridgemakefile); 3554} 3555 3556sub check_partial_gnumake_build { | 1: 2 eval 'exec perl -S $0 ${1+"$@"}' 3 if 0; 4#************************************************************** 5# 6# Licensed to the Apache Software Foundation (ASF) under one 7# or more contributor license agreements. See the NOTICE file 8# distributed with this work for additional information --- 3540 unchanged lines hidden (view full) --- 3549 3550sub is_gnumake_module { 3551 my $module = shift; 3552 my $bridgemakefile = $source_config->get_module_path($module) . "/prj/makefile.mk"; 3553 return (-e $bridgemakefile); 3554} 3555 3556sub check_partial_gnumake_build { |
3557 # Do not disable the build command for a single module just for education. 3558 return; 3559 |
|
3557 if(!$build_all_parents && is_gnumake_module(shift)) { 3558 print "This module has been migrated to GNU make.\n"; 3559 print "You can only use build --all/--since here with build.pl.\n"; 3560 print "To do the equivalent of 'build && deliver' call:\n"; 3561 print "\tmake -sr\n"; 3562 print "in the module root (This will modify the solver).\n"; 3563 exit 1; 3564 } 3565} | 3560 if(!$build_all_parents && is_gnumake_module(shift)) { 3561 print "This module has been migrated to GNU make.\n"; 3562 print "You can only use build --all/--since here with build.pl.\n"; 3563 print "To do the equivalent of 'build && deliver' call:\n"; 3564 print "\tmake -sr\n"; 3565 print "in the module root (This will modify the solver).\n"; 3566 exit 1; 3567 } 3568} |