function make_libraries

8.0.x make.drush.inc make_libraries($recursion, $contrib_destination, $info, $build_path, $make_dir)
6.x make.drush.inc make_libraries($contrib_destination, $info, $build_path, $make_dir)
7.x make.drush.inc make_libraries($recursion, $contrib_destination, $info, $build_path, $make_dir)
5.x make.drush.inc make_libraries($contrib_destination, $info, $build_path)
master make.drush.inc make_libraries($recursion, $contrib_destination, $info, $build_path, $make_dir)

Process all libraries specified in the make file.

2 calls to make_libraries()
DrushMakeProject::recurse in commands/make/make.project.inc
Recurse to process additional makefiles that may be found during processing.
drush_make in commands/make/make.drush.inc
Drush callback; make based on the makefile.

File

commands/make/make.drush.inc, line 690
Drush Make commands.

Code

function make_libraries($recursion, $contrib_destination, $info, $build_path, $make_dir) {
  $libraries = make_prepare_libraries($recursion, $info, $contrib_destination, $build_path, $make_dir);
  if (empty($libraries)) {
    return;
  }
  foreach ($libraries as $key => $library) {
    $class = DrushMakeProject::getInstance('library', $library);
    $class->make();
  }
}