Drush: commands/make/generate.contents.make.inc File Reference

  1. 7.x doxygen/html/generate_8contents_8make_8inc.html
  2. master doxygen/html/generate_8contents_8make_8inc.html

Go to the source code of this file.

Functions

 _drush_make_generate_makefile_contents ($projects, $libraries=array(), $core_version=NULL, $defaults=array())
 _drush_make_generate_makefile_body ($projects, $output=array())
 make_generate_from_makefile ($file, $makefile)
 drush_make_resolve_git_refs (&$project)
 drush_make_resolve_git_branch ($project)
 drush_make_resolve_git_revision ($project)
 make_generate_makefile_contents ($projects, $libraries=array(), $core=NULL, $defaults=array())
 make_generate_makefile_contents_ini ($projects, $libraries, $core, $defaults)
 make_generate_makefile_contents_yaml ($projects, $libraries, $core, $defaults)
 _make_generate_array_filter ($haystack)
 _make_generate_array_filter_key ($needle, $haystack)
 make_generate_print ($contents, $file=NULL)
 _drush_make_generate_lines ($base, $values)
 _drush_make_generate_defaults ($defaults, &$output=array())

Detailed Description

Functions for the generate makefile command.

Definition in file generate.contents.make.inc.

Function Documentation

_drush_make_generate_lines (   $base,
  $values 
)

Utility function to generate the line or lines for a key/value pair in the make file.

Parameters
$baseThe base for the configuration lines. Values will be appended to it as [$key] = $value, or if value is an array itself it will expand into as many lines as required.
$valuesMay be a single value or an array.
Returns
An array of strings that represent lines for the make file.

Definition at line 335 of file generate.contents.make.inc.

_drush_make_generate_makefile_contents (   $projects,
  $libraries = array(),
  $core_version = NULL,
  $defaults = array() 
)

Generate the actual contents of the .make file.

Definition at line 12 of file generate.contents.make.inc.

References drush_get_drupal_core_compatibility(), and MAKE_API.

Referenced by drush_make_convert(), and make_generate_makefile_contents_ini().

Here is the call graph for this function:

Here is the caller graph for this function:

_make_generate_array_filter (   $haystack)

Helper function to recursively remove empty values from an array (but not '0'!).

Definition at line 275 of file generate.contents.make.inc.

Referenced by make_generate_from_makefile(), and make_generate_makefile_contents_yaml().

Here is the caller graph for this function:

_make_generate_array_filter_key (   $needle,
  $haystack 
)

Helper function to recursively remove elements matching a specific key from an array.

Definition at line 290 of file generate.contents.make.inc.

Referenced by make_generate_makefile_contents_yaml().

Here is the caller graph for this function:

drush_make_resolve_git_branch (   $project)

Resolve branch for a git-based project.

Definition at line 189 of file generate.contents.make.inc.

References drush_log(), drush_shell_exec(), drush_shell_exec_output(), and dt().

Referenced by drush_make_resolve_git_refs().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_make_resolve_git_refs ( $project)

Resolve branches and revisions for git-based projects.

Definition at line 177 of file generate.contents.make.inc.

References drush_make_resolve_git_branch(), and drush_make_resolve_git_revision().

Referenced by make_generate_from_makefile().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_make_resolve_git_revision (   $project)

Resolve revision for a git-based project.

Definition at line 216 of file generate.contents.make.inc.

References drush_log(), drush_shell_exec(), drush_shell_exec_output(), and dt().

Referenced by drush_make_resolve_git_refs().

Here is the call graph for this function:

Here is the caller graph for this function:

make_generate_from_makefile (   $file,
  $makefile 
)

Write a makefile based on data parsed from a previous makefile.

Parameters
$fileThe path to the file to write our generated makefile to, or TRUE to print to the terminal.
$makefileA makefile on which to base our generated one.

Definition at line 85 of file generate.contents.make.inc.

References _make_generate_array_filter(), drush_get_option(), drush_make_resolve_git_refs(), drush_set_error(), dt(), make_generate_makefile_contents(), make_generate_print(), make_parse_info_file(), and make_prepare_projects().

Referenced by drush_make_lock(), and drush_make_update().

Here is the call graph for this function:

Here is the caller graph for this function:

make_generate_makefile_contents (   $projects,
  $libraries = array(),
  $core = NULL,
  $defaults = array() 
)

Generate makefile contents in the appropriate format.

Definition at line 232 of file generate.contents.make.inc.

References drush_get_option(), drush_set_error(), and dt().

Referenced by drush_make_generate(), and make_generate_from_makefile().

Here is the call graph for this function:

Here is the caller graph for this function:

make_generate_makefile_contents_ini (   $projects,
  $libraries,
  $core,
  $defaults 
)

Generate makefile contents in (legacy) INI format.

Definition at line 247 of file generate.contents.make.inc.

References _drush_make_generate_makefile_contents().

Here is the call graph for this function:

make_generate_makefile_contents_yaml (   $projects,
  $libraries,
  $core,
  $defaults 
)

Generate makefile contents in YAML format.

Definition at line 254 of file generate.contents.make.inc.

References _make_generate_array_filter(), _make_generate_array_filter_key(), drush_load_engine(), and MAKE_API.

Here is the call graph for this function:

make_generate_print (   $contents,
  $file = NULL 
)

Print the generated makefile to the terminal, or write it to a file.

Parameters
$contentsThe formatted contents of a makefile.
$file(optional) The path to write the makefile.

Definition at line 310 of file generate.contents.make.inc.

References drush_log(), drush_print(), dt(), and make_error().

Referenced by drush_make_generate(), and make_generate_from_makefile().

Here is the call graph for this function:

Here is the caller graph for this function:

File

doxygen/html/generate_8contents_8make_8inc.html
View source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Drush: commands/make/generate.contents.make.inc File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Drush
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_afac61274991793aa7e9133a8f4f291e.html">commands</a></li><li class="navelem"><a class="el" href="dir_71080c12e208a9908650860bfe2a57f6.html">make</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">generate.contents.make.inc File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="generate_8contents_8make_8inc_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:afbd48f8e43786bc9712f774585903694"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#afbd48f8e43786bc9712f774585903694">_drush_make_generate_makefile_contents</a> ($projects, $libraries=array(), $core_version=NULL, $defaults=array())</td></tr>
<tr class="memitem:adb5d2c1b1107fe257764d9c2e6873406"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb5d2c1b1107fe257764d9c2e6873406"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>_drush_make_generate_makefile_body</b> ($projects, $output=array())</td></tr>
<tr class="memitem:ae22e86e5816853f66923925aa90164e1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1">make_generate_from_makefile</a> ($file, $makefile)</td></tr>
<tr class="memitem:ac5ec1c6f4e0e0c74d2c14f711406958c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#ac5ec1c6f4e0e0c74d2c14f711406958c">drush_make_resolve_git_refs</a> (&amp;$project)</td></tr>
<tr class="memitem:a7b416d99e6ed708277dcc3e72b858c5b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#a7b416d99e6ed708277dcc3e72b858c5b">drush_make_resolve_git_branch</a> ($project)</td></tr>
<tr class="memitem:a06a6e0881bdcd68927f33988c782b515"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#a06a6e0881bdcd68927f33988c782b515">drush_make_resolve_git_revision</a> ($project)</td></tr>
<tr class="memitem:a033fd5bb6d4c1d71983a6a264b939ab6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#a033fd5bb6d4c1d71983a6a264b939ab6">make_generate_makefile_contents</a> ($projects, $libraries=array(), $core=NULL, $defaults=array())</td></tr>
<tr class="memitem:abceac0f04af6342b82512c8f04ed356d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#abceac0f04af6342b82512c8f04ed356d">make_generate_makefile_contents_ini</a> ($projects, $libraries, $core, $defaults)</td></tr>
<tr class="memitem:a6438e4c721b8177c7439acdea88a056b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#a6438e4c721b8177c7439acdea88a056b">make_generate_makefile_contents_yaml</a> ($projects, $libraries, $core, $defaults)</td></tr>
<tr class="memitem:ac350a44d32b26c0de9f37d7cbd477ee5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#ac350a44d32b26c0de9f37d7cbd477ee5">_make_generate_array_filter</a> ($haystack)</td></tr>
<tr class="memitem:a22c77dbccd0ca3bedd813a2f0711210e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#a22c77dbccd0ca3bedd813a2f0711210e">_make_generate_array_filter_key</a> ($needle, $haystack)</td></tr>
<tr class="memitem:a9278fc4dc378fb42d217a56646d6d6d9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#a9278fc4dc378fb42d217a56646d6d6d9">make_generate_print</a> ($contents, $file=NULL)</td></tr>
<tr class="memitem:a6ac240921f5dd27debe8be287123718b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="generate_8contents_8make_8inc.html#a6ac240921f5dd27debe8be287123718b">_drush_make_generate_lines</a> ($base, $values)</td></tr>
<tr class="memitem:aad2db0e5b58e962e25bbe08282444821"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aad2db0e5b58e962e25bbe08282444821"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>_drush_make_generate_defaults</b> ($defaults, &amp;$output=array())</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Functions for the generate makefile command. </p>

<p>Definition in file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>
</div><h2>Function Documentation</h2>
<a class="anchor" id="a6ac240921f5dd27debe8be287123718b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_make_generate_lines </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Utility function to generate the line or lines for a key/value pair in the make file.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$base</td><td>The base for the configuration lines. Values will be appended to it as [$key] = $value, or if value is an array itself it will expand into as many lines as required. </td></tr>
    <tr><td class="paramname">$values</td><td>May be a single value or an array. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An array of strings that represent lines for the make file. </dd></dl>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00335">335</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

</div>
</div>
<a class="anchor" id="afbd48f8e43786bc9712f774585903694"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_make_generate_makefile_contents </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$projects</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$libraries</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$core_version</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$defaults</em> = <code>array()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generate the actual contents of the .make file. </p>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00012">12</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

<p>References <a class="el" href="includes_2environment_8inc_source.html#l00836">drush_get_drupal_core_compatibility()</a>, and <a class="el" href="make_8drush_8inc_source.html#l00019">MAKE_API</a>.</p>

<p>Referenced by <a class="el" href="make_8drush_8inc_source.html#l00382">drush_make_convert()</a>, and <a class="el" href="generate_8contents_8make_8inc_source.html#l00247">make_generate_makefile_contents_ini()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_afbd48f8e43786bc9712f774585903694_cgraph.png" border="0" usemap="#generate_8contents_8make_8inc_afbd48f8e43786bc9712f774585903694_cgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_afbd48f8e43786bc9712f774585903694_cgraph" id="generate_8contents_8make_8inc_afbd48f8e43786bc9712f774585903694_cgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a02b3e67cdaf5abc38c32b207ba2aee60" title="drush_get_drupal_core\l_compatibility" alt="" coords="212,5,364,51"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_afbd48f8e43786bc9712f774585903694_icgraph.png" border="0" usemap="#generate_8contents_8make_8inc_afbd48f8e43786bc9712f774585903694_icgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_afbd48f8e43786bc9712f774585903694_icgraph" id="generate_8contents_8make_8inc_afbd48f8e43786bc9712f774585903694_icgraph">
<area shape="rect" id="node3" href="make_8drush_8inc.html#ae88632c69815cc80a69bf4e19c53c753" title="drush_make_convert" alt="" coords="224,5,365,35"/><area shape="rect" id="node5" href="generate_8contents_8make_8inc.html#abceac0f04af6342b82512c8f04ed356d" title="make_generate_makefile\l_contents_ini" alt="" coords="212,58,377,105"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac350a44d32b26c0de9f37d7cbd477ee5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_make_generate_array_filter </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$haystack</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Helper function to recursively remove empty values from an array (but not '0'!). </p>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00275">275</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

<p>Referenced by <a class="el" href="generate_8contents_8make_8inc_source.html#l00085">make_generate_from_makefile()</a>, and <a class="el" href="generate_8contents_8make_8inc_source.html#l00254">make_generate_makefile_contents_yaml()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_ac350a44d32b26c0de9f37d7cbd477ee5_icgraph.png" border="0" usemap="#generate_8contents_8make_8inc_ac350a44d32b26c0de9f37d7cbd477ee5_icgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_ac350a44d32b26c0de9f37d7cbd477ee5_icgraph" id="generate_8contents_8make_8inc_ac350a44d32b26c0de9f37d7cbd477ee5_icgraph">
<area shape="rect" id="node3" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="220,23,364,70"/><area shape="rect" id="node9" href="generate_8contents_8make_8inc.html#a6438e4c721b8177c7439acdea88a056b" title="make_generate_makefile\l_contents_yaml" alt="" coords="209,93,375,139"/><area shape="rect" id="node5" href="lock_8make_8inc.html#a530a37e290fca3cca37be45095a71ddb" title="drush_make_lock" alt="" coords="432,5,555,35"/><area shape="rect" id="node7" href="update_8make_8inc.html#ae355a966b30dbcb83e5d10f1e35c6d48" title="drush_make_update" alt="" coords="424,59,563,88"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a22c77dbccd0ca3bedd813a2f0711210e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_make_generate_array_filter_key </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$needle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$haystack</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Helper function to recursively remove elements matching a specific key from an array. </p>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00290">290</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

<p>Referenced by <a class="el" href="generate_8contents_8make_8inc_source.html#l00254">make_generate_makefile_contents_yaml()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_a22c77dbccd0ca3bedd813a2f0711210e_icgraph.png" border="0" usemap="#generate_8contents_8make_8inc_a22c77dbccd0ca3bedd813a2f0711210e_icgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_a22c77dbccd0ca3bedd813a2f0711210e_icgraph" id="generate_8contents_8make_8inc_a22c77dbccd0ca3bedd813a2f0711210e_icgraph">
<area shape="rect" id="node3" href="generate_8contents_8make_8inc.html#a6438e4c721b8177c7439acdea88a056b" title="make_generate_makefile\l_contents_yaml" alt="" coords="209,5,375,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7b416d99e6ed708277dcc3e72b858c5b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_make_resolve_git_branch </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$project</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Resolve branch for a git-based project. </p>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00189">189</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l01252">drush_log()</a>, <a class="el" href="exec_8inc_source.html#l00080">drush_shell_exec()</a>, <a class="el" href="exec_8inc_source.html#l00343">drush_shell_exec_output()</a>, and <a class="el" href="output_8inc_source.html#l00149">dt()</a>.</p>

<p>Referenced by <a class="el" href="generate_8contents_8make_8inc_source.html#l00177">drush_make_resolve_git_refs()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_a7b416d99e6ed708277dcc3e72b858c5b_cgraph.png" border="0" usemap="#generate_8contents_8make_8inc_a7b416d99e6ed708277dcc3e72b858c5b_cgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_a7b416d99e6ed708277dcc3e72b858c5b_cgraph" id="generate_8contents_8make_8inc_a7b416d99e6ed708277dcc3e72b858c5b_cgraph">
<area shape="rect" id="node3" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="220,220,297,249"/><area shape="rect" id="node18" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="197,296,320,325"/><area shape="rect" id="node38" href="group__commandwrappers.html#gadba8c59ba260dd39f615bc22ca78e1af" title="drush_shell_exec_output" alt="" coords="369,408,535,437"/><area shape="rect" id="node41" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="433,96,471,125"/><area shape="rect" id="node5" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="863,195,948,224"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1252,239,1380,268"/><area shape="rect" id="node9" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="1061,109,1157,139"/><area shape="rect" id="node15" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1032,213,1187,243"/><area shape="rect" id="node11" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="1265,57,1367,87"/><area shape="rect" id="node13" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1441,57,1575,87"/><area shape="rect" id="node20" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="387,317,517,347"/><area shape="rect" id="node23" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="863,368,948,397"/><area shape="rect" id="node32" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="607,317,761,347"/><area shape="rect" id="node36" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="585,421,783,451"/><area shape="rect" id="node25" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1049,368,1169,397"/><area shape="rect" id="node27" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1252,395,1380,424"/><area shape="rect" id="node30" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1241,341,1391,371"/><area shape="rect" id="node43" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="617,87,751,134"/><area shape="rect" id="node51" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="615,35,753,64"/><area shape="rect" id="node45" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="833,57,977,87"/><area shape="rect" id="node48" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="1027,5,1192,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_a7b416d99e6ed708277dcc3e72b858c5b_icgraph.png" border="0" usemap="#generate_8contents_8make_8inc_a7b416d99e6ed708277dcc3e72b858c5b_icgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_a7b416d99e6ed708277dcc3e72b858c5b_icgraph" id="generate_8contents_8make_8inc_a7b416d99e6ed708277dcc3e72b858c5b_icgraph">
<area shape="rect" id="node3" href="generate_8contents_8make_8inc.html#ac5ec1c6f4e0e0c74d2c14f711406958c" title="drush_make_resolve\l_git_refs" alt="" coords="199,23,340,70"/><area shape="rect" id="node5" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="389,23,533,70"/><area shape="rect" id="node7" href="lock_8make_8inc.html#a530a37e290fca3cca37be45095a71ddb" title="drush_make_lock" alt="" coords="589,5,712,35"/><area shape="rect" id="node9" href="update_8make_8inc.html#ae355a966b30dbcb83e5d10f1e35c6d48" title="drush_make_update" alt="" coords="581,59,720,88"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac5ec1c6f4e0e0c74d2c14f711406958c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_make_resolve_git_refs </td>
          <td>(</td>
          <td class="paramtype">&amp;&#160;</td>
          <td class="paramname"><em>$project</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Resolve branches and revisions for git-based projects. </p>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00177">177</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

<p>References <a class="el" href="generate_8contents_8make_8inc_source.html#l00189">drush_make_resolve_git_branch()</a>, and <a class="el" href="generate_8contents_8make_8inc_source.html#l00216">drush_make_resolve_git_revision()</a>.</p>

<p>Referenced by <a class="el" href="generate_8contents_8make_8inc_source.html#l00085">make_generate_from_makefile()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_ac5ec1c6f4e0e0c74d2c14f711406958c_cgraph.png" border="0" usemap="#generate_8contents_8make_8inc_ac5ec1c6f4e0e0c74d2c14f711406958c_cgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_ac5ec1c6f4e0e0c74d2c14f711406958c_cgraph" id="generate_8contents_8make_8inc_ac5ec1c6f4e0e0c74d2c14f711406958c_cgraph">
<area shape="rect" id="node3" href="generate_8contents_8make_8inc.html#a7b416d99e6ed708277dcc3e72b858c5b" title="drush_make_resolve\l_git_branch" alt="" coords="199,273,340,319"/><area shape="rect" id="node55" href="generate_8contents_8make_8inc.html#a06a6e0881bdcd68927f33988c782b515" title="drush_make_resolve\l_git_revision" alt="" coords="199,203,340,250"/><area shape="rect" id="node5" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="435,216,512,245"/><area shape="rect" id="node20" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="412,277,535,307"/><area shape="rect" id="node40" href="group__commandwrappers.html#gadba8c59ba260dd39f615bc22ca78e1af" title="drush_shell_exec_output" alt="" coords="391,331,556,360"/><area shape="rect" id="node43" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="455,163,492,192"/><area shape="rect" id="node7" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="1071,188,1156,217"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1460,251,1588,280"/><area shape="rect" id="node11" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="1269,109,1365,139"/><area shape="rect" id="node17" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1240,213,1395,243"/><area shape="rect" id="node13" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="1473,57,1575,87"/><area shape="rect" id="node15" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1649,57,1783,87"/><area shape="rect" id="node22" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="609,317,740,347"/><area shape="rect" id="node25" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="1071,368,1156,397"/><area shape="rect" id="node34" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="815,317,969,347"/><area shape="rect" id="node38" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="793,421,991,451"/><area shape="rect" id="node27" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1257,368,1377,397"/><area shape="rect" id="node29" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1460,328,1588,357"/><area shape="rect" id="node32" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1449,381,1599,411"/><area shape="rect" id="node45" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="608,82,741,129"/><area shape="rect" id="node53" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="605,163,744,192"/><area shape="rect" id="node47" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1041,57,1185,87"/><area shape="rect" id="node50" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="1235,5,1400,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_ac5ec1c6f4e0e0c74d2c14f711406958c_icgraph.png" border="0" usemap="#generate_8contents_8make_8inc_ac5ec1c6f4e0e0c74d2c14f711406958c_icgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_ac5ec1c6f4e0e0c74d2c14f711406958c_icgraph" id="generate_8contents_8make_8inc_ac5ec1c6f4e0e0c74d2c14f711406958c_icgraph">
<area shape="rect" id="node3" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="197,23,341,70"/><area shape="rect" id="node5" href="lock_8make_8inc.html#a530a37e290fca3cca37be45095a71ddb" title="drush_make_lock" alt="" coords="397,5,520,35"/><area shape="rect" id="node7" href="update_8make_8inc.html#ae355a966b30dbcb83e5d10f1e35c6d48" title="drush_make_update" alt="" coords="389,59,528,88"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a06a6e0881bdcd68927f33988c782b515"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_make_resolve_git_revision </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$project</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Resolve revision for a git-based project. </p>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00216">216</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l01252">drush_log()</a>, <a class="el" href="exec_8inc_source.html#l00080">drush_shell_exec()</a>, <a class="el" href="exec_8inc_source.html#l00343">drush_shell_exec_output()</a>, and <a class="el" href="output_8inc_source.html#l00149">dt()</a>.</p>

<p>Referenced by <a class="el" href="generate_8contents_8make_8inc_source.html#l00177">drush_make_resolve_git_refs()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_a06a6e0881bdcd68927f33988c782b515_cgraph.png" border="0" usemap="#generate_8contents_8make_8inc_a06a6e0881bdcd68927f33988c782b515_cgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_a06a6e0881bdcd68927f33988c782b515_cgraph" id="generate_8contents_8make_8inc_a06a6e0881bdcd68927f33988c782b515_cgraph">
<area shape="rect" id="node3" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="220,220,297,249"/><area shape="rect" id="node18" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="197,296,320,325"/><area shape="rect" id="node38" href="group__commandwrappers.html#gadba8c59ba260dd39f615bc22ca78e1af" title="drush_shell_exec_output" alt="" coords="369,408,535,437"/><area shape="rect" id="node41" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="433,96,471,125"/><area shape="rect" id="node5" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="863,195,948,224"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1252,239,1380,268"/><area shape="rect" id="node9" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="1061,109,1157,139"/><area shape="rect" id="node15" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1032,213,1187,243"/><area shape="rect" id="node11" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="1265,57,1367,87"/><area shape="rect" id="node13" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1441,57,1575,87"/><area shape="rect" id="node20" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="387,317,517,347"/><area shape="rect" id="node23" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="863,368,948,397"/><area shape="rect" id="node32" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="607,317,761,347"/><area shape="rect" id="node36" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="585,421,783,451"/><area shape="rect" id="node25" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1049,368,1169,397"/><area shape="rect" id="node27" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1252,395,1380,424"/><area shape="rect" id="node30" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1241,341,1391,371"/><area shape="rect" id="node43" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="617,87,751,134"/><area shape="rect" id="node51" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="615,35,753,64"/><area shape="rect" id="node45" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="833,57,977,87"/><area shape="rect" id="node48" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="1027,5,1192,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_a06a6e0881bdcd68927f33988c782b515_icgraph.png" border="0" usemap="#generate_8contents_8make_8inc_a06a6e0881bdcd68927f33988c782b515_icgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_a06a6e0881bdcd68927f33988c782b515_icgraph" id="generate_8contents_8make_8inc_a06a6e0881bdcd68927f33988c782b515_icgraph">
<area shape="rect" id="node3" href="generate_8contents_8make_8inc.html#ac5ec1c6f4e0e0c74d2c14f711406958c" title="drush_make_resolve\l_git_refs" alt="" coords="199,23,340,70"/><area shape="rect" id="node5" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="389,23,533,70"/><area shape="rect" id="node7" href="lock_8make_8inc.html#a530a37e290fca3cca37be45095a71ddb" title="drush_make_lock" alt="" coords="589,5,712,35"/><area shape="rect" id="node9" href="update_8make_8inc.html#ae355a966b30dbcb83e5d10f1e35c6d48" title="drush_make_update" alt="" coords="581,59,720,88"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae22e86e5816853f66923925aa90164e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">make_generate_from_makefile </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$makefile</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Write a makefile based on data parsed from a previous makefile.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$file</td><td>The path to the file to write our generated makefile to, or TRUE to print to the terminal. </td></tr>
    <tr><td class="paramname">$makefile</td><td>A makefile on which to base our generated one. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00085">85</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

<p>References <a class="el" href="generate_8contents_8make_8inc_source.html#l00275">_make_generate_array_filter()</a>, <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>, <a class="el" href="generate_8contents_8make_8inc_source.html#l00177">drush_make_resolve_git_refs()</a>, <a class="el" href="drush_8inc_source.html#l01525">drush_set_error()</a>, <a class="el" href="output_8inc_source.html#l00149">dt()</a>, <a class="el" href="generate_8contents_8make_8inc_source.html#l00232">make_generate_makefile_contents()</a>, <a class="el" href="generate_8contents_8make_8inc_source.html#l00310">make_generate_print()</a>, <a class="el" href="make_8utilities_8inc_source.html#l00014">make_parse_info_file()</a>, and <a class="el" href="make_8drush_8inc_source.html#l00737">make_prepare_projects()</a>.</p>

<p>Referenced by <a class="el" href="lock_8make_8inc_source.html#l00011">drush_make_lock()</a>, and <a class="el" href="update_8make_8inc_source.html#l00011">drush_make_update()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_ae22e86e5816853f66923925aa90164e1_cgraph.png" border="0" usemap="#generate_8contents_8make_8inc_ae22e86e5816853f66923925aa90164e1_cgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_ae22e86e5816853f66923925aa90164e1_cgraph" id="generate_8contents_8make_8inc_ae22e86e5816853f66923925aa90164e1_cgraph">
<area shape="rect" id="node3" href="generate_8contents_8make_8inc.html#ac350a44d32b26c0de9f37d7cbd477ee5" title="_make_generate_array\l_filter" alt="" coords="197,260,352,306"/><area shape="rect" id="node5" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1336,1294,1456,1323"/><area shape="rect" id="node13" href="generate_8contents_8make_8inc.html#ac5ec1c6f4e0e0c74d2c14f711406958c" title="drush_make_resolve\l_git_refs" alt="" coords="204,329,345,376"/><area shape="rect" id="node40" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1137,988,1175,1018"/><area shape="rect" id="node57" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1100,1452,1212,1482"/><area shape="rect" id="node65" href="generate_8contents_8make_8inc.html#a033fd5bb6d4c1d71983a6a264b939ab6" title="make_generate_makefile\l_contents" alt="" coords="829,1450,995,1497"/><area shape="rect" id="node70" href="generate_8contents_8make_8inc.html#a9278fc4dc378fb42d217a56646d6d6d9" title="make_generate_print" alt="" coords="613,520,755,550"/><area shape="rect" id="node80" href="make_8utilities_8inc.html#a4b0a7538764f23e358e9441aa1b4231c" title="make_parse_info_file" alt="" coords="203,1191,347,1220"/><area shape="rect" id="node141" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="833,1622,991,1651"/><area shape="rect" id="node7" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1548,1243,1676,1272"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1951,1218,2079,1247"/><area shape="rect" id="node11" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1537,1347,1687,1376"/><area shape="rect" id="node15" href="generate_8contents_8make_8inc.html#a7b416d99e6ed708277dcc3e72b858c5b" title="drush_make_resolve\l_git_branch" alt="" coords="405,284,547,330"/><area shape="rect" id="node51" href="generate_8contents_8make_8inc.html#a06a6e0881bdcd68927f33988c782b515" title="drush_make_resolve\l_git_revision" alt="" coords="405,181,547,228"/><area shape="rect" id="node17" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="1357,620,1435,650"/><area shape="rect" id="node27" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="623,190,745,219"/><area shape="rect" id="node37" href="group__commandwrappers.html#gadba8c59ba260dd39f615bc22ca78e1af" title="drush_shell_exec_output" alt="" coords="601,136,767,166"/><area shape="rect" id="node19" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="1569,959,1655,988"/><area shape="rect" id="node22" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="1771,934,1867,963"/><area shape="rect" id="node24" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1741,1243,1896,1272"/><area shape="rect" id="node29" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="847,163,977,192"/><area shape="rect" id="node32" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="1113,315,1199,344"/><area shape="rect" id="node35" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="1057,112,1255,142"/><area shape="rect" id="node42" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1329,1034,1463,1081"/><area shape="rect" id="node49" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="1327,982,1465,1011"/><area shape="rect" id="node44" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1540,1043,1684,1072"/><area shape="rect" id="node47" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="1736,1038,1901,1067"/><area shape="rect" id="node60" href="command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1305,1400,1487,1430"/><area shape="rect" id="node75" href="make_8utilities_8inc.html#aa2a78298291b42502718822ed5b59969" title="make_error" alt="" coords="869,622,955,651"/><area shape="rect" id="node82" href="make_8utilities_8inc.html#abef6a4b966dd5e107a3027d45e46439b" title="_make_parse_info_file" alt="" coords="400,1191,552,1220"/><area shape="rect" id="node110" href="context_8inc.html#ade60e65f76863ed34db22f5e7f83a150" title="drush_get_option_list" alt="" coords="612,1315,756,1344"/><area shape="rect" id="node123" href="make_8utilities_8inc.html#a7e95eb7b8a11558344b42b0c653ca22a" title="make_prune_info_file" alt="" coords="612,674,756,703"/><area shape="rect" id="node128" href="make_8utilities_8inc.html#a6be8755a0ea68b9198e1e8cebbccff89" title="make_validate_info_file" alt="" coords="605,779,763,808"/><area shape="rect" id="node84" href="make_8utilities_8inc.html#aae2ffe8335a86abf135357cfdac212d0" title="make_get_data" alt="" coords="629,1160,739,1190"/><area shape="rect" id="node96" href="make_8utilities_8inc.html#abc14c8435ac14ebb854d56fc0d1dc02e" title="_make_determine_format" alt="" coords="828,1296,996,1326"/><area shape="rect" id="node100" href="make_8utilities_8inc.html#a060e42b6b94b1e06f584a8d1ed22ea9a" title="_make_is_override_allowed" alt="" coords="821,886,1003,915"/><area shape="rect" id="node107" href="context_8inc.html#aa4b55e2f6174c8b6efaa8f23a0f9e0af" title="drush_set_option" alt="" coords="1096,1246,1216,1275"/><area shape="rect" id="node113" href="context_8inc.html#a2d9c3fdcab304aaf56293d3881e98a9a" title="drush_unset_option" alt="" coords="1329,1347,1463,1376"/><area shape="rect" id="node117" href="make_8utilities_8inc.html#a305d33e3cfc6dab5a524ff0bd3b31982" title="_make_merge_includes\l_recursively" alt="" coords="605,920,763,966"/><area shape="rect" id="node86" href="make_8download_8inc.html#a6381bf72fa72152dd12f122dbca83d78" title="_make_download_file" alt="" coords="1083,1192,1229,1222"/><area shape="rect" id="node89" href="drush_8inc.html#acebe9ed4e4825e6d33ab8dff2157b676" title="drush_op" alt="" coords="875,1142,949,1171"/><area shape="rect" id="node103" href="drush_8inc.html#a6007ce294242d1f6e48cda703fbb8d3f" title="_convert_csv_to_array" alt="" coords="1079,935,1233,964"/><area shape="rect" id="node133" href="make_8utilities_8inc.html#a1a164b7feebadfc82cb93ad732c52a00" title="make_safe_path" alt="" coords="853,832,971,862"/><area shape="rect" id="node135" href="make_8utilities_8inc.html#a41ab4cf460a801be3983bef795a1318c" title="make_apply_defaults" alt="" coords="840,675,984,704"/><area shape="rect" id="node139" href="command_8inc.html#a385cd0ff47c30105f965722a81987809" title="drush_command_implements" alt="" coords="816,779,1008,808"/><area shape="rect" id="node143" href="engines_8inc.html#a34ff5c6bb43688e04d0647eddf48d553" title="drush_get_engine" alt="" coords="1757,1555,1880,1584"/><area shape="rect" id="node149" href="make_8drush_8inc.html#a417d71dedd721df1232702d672ecde59" title="make_prepare_request" alt="" coords="1079,1607,1233,1636"/><area shape="rect" id="node151" href="make_8drush_8inc.html#a74cf0e56045632e43fcc16ce438d18e7" title="make_project_needs\l_release_info" alt="" coords="1085,1660,1227,1706"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_ae22e86e5816853f66923925aa90164e1_icgraph.png" border="0" usemap="#generate_8contents_8make_8inc_ae22e86e5816853f66923925aa90164e1_icgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_ae22e86e5816853f66923925aa90164e1_icgraph" id="generate_8contents_8make_8inc_ae22e86e5816853f66923925aa90164e1_icgraph">
<area shape="rect" id="node3" href="lock_8make_8inc.html#a530a37e290fca3cca37be45095a71ddb" title="drush_make_lock" alt="" coords="205,5,328,35"/><area shape="rect" id="node5" href="update_8make_8inc.html#ae355a966b30dbcb83e5d10f1e35c6d48" title="drush_make_update" alt="" coords="197,59,336,88"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a033fd5bb6d4c1d71983a6a264b939ab6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">make_generate_makefile_contents </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$projects</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$libraries</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$core</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$defaults</em> = <code>array()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generate makefile contents in the appropriate format. </p>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00232">232</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>, <a class="el" href="drush_8inc_source.html#l01525">drush_set_error()</a>, and <a class="el" href="output_8inc_source.html#l00149">dt()</a>.</p>

<p>Referenced by <a class="el" href="generate_8make_8inc_source.html#l00014">drush_make_generate()</a>, and <a class="el" href="generate_8contents_8make_8inc_source.html#l00085">make_generate_from_makefile()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_a033fd5bb6d4c1d71983a6a264b939ab6_cgraph.png" border="0" usemap="#generate_8contents_8make_8inc_a033fd5bb6d4c1d71983a6a264b939ab6_cgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_a033fd5bb6d4c1d71983a6a264b939ab6_cgraph" id="generate_8contents_8make_8inc_a033fd5bb6d4c1d71983a6a264b939ab6_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="223,85,343,115"/><area shape="rect" id="node11" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="227,240,339,269"/><area shape="rect" id="node31" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="264,379,301,408"/><area shape="rect" id="node5" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="420,5,548,35"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1033,217,1161,247"/><area shape="rect" id="node9" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="409,59,559,88"/><area shape="rect" id="node14" href="command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="393,213,575,243"/><area shape="rect" id="node16" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="824,217,979,247"/><area shape="rect" id="node19" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="445,317,523,347"/><area shape="rect" id="node21" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="655,317,740,347"/><area shape="rect" id="node24" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="853,321,949,351"/><area shape="rect" id="node26" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="1047,373,1148,403"/><area shape="rect" id="node28" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1212,373,1345,403"/><area shape="rect" id="node33" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="417,370,551,417"/><area shape="rect" id="node41" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="415,440,553,469"/><area shape="rect" id="node35" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="625,379,769,408"/><area shape="rect" id="node38" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="819,425,984,455"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_a033fd5bb6d4c1d71983a6a264b939ab6_icgraph.png" border="0" usemap="#generate_8contents_8make_8inc_a033fd5bb6d4c1d71983a6a264b939ab6_icgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_a033fd5bb6d4c1d71983a6a264b939ab6_icgraph" id="generate_8contents_8make_8inc_a033fd5bb6d4c1d71983a6a264b939ab6_icgraph">
<area shape="rect" id="node3" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="223,5,372,35"/><area shape="rect" id="node5" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="225,58,369,105"/><area shape="rect" id="node7" href="lock_8make_8inc.html#a530a37e290fca3cca37be45095a71ddb" title="drush_make_lock" alt="" coords="429,40,552,69"/><area shape="rect" id="node9" href="update_8make_8inc.html#ae355a966b30dbcb83e5d10f1e35c6d48" title="drush_make_update" alt="" coords="421,93,560,123"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="abceac0f04af6342b82512c8f04ed356d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">make_generate_makefile_contents_ini </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$projects</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$libraries</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$core</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$defaults</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generate makefile contents in (legacy) INI format. </p>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00247">247</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

<p>References <a class="el" href="generate_8contents_8make_8inc_source.html#l00012">_drush_make_generate_makefile_contents()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_abceac0f04af6342b82512c8f04ed356d_cgraph.png" border="0" usemap="#generate_8contents_8make_8inc_abceac0f04af6342b82512c8f04ed356d_cgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_abceac0f04af6342b82512c8f04ed356d_cgraph" id="generate_8contents_8make_8inc_abceac0f04af6342b82512c8f04ed356d_cgraph">
<area shape="rect" id="node3" href="generate_8contents_8make_8inc.html#afbd48f8e43786bc9712f774585903694" title="_drush_make_generate\l_makefile_contents" alt="" coords="221,5,379,51"/><area shape="rect" id="node5" href="includes_2environment_8inc.html#a02b3e67cdaf5abc38c32b207ba2aee60" title="drush_get_drupal_core\l_compatibility" alt="" coords="428,5,580,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6438e4c721b8177c7439acdea88a056b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">make_generate_makefile_contents_yaml </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$projects</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$libraries</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$core</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$defaults</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generate makefile contents in YAML format. </p>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00254">254</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

<p>References <a class="el" href="generate_8contents_8make_8inc_source.html#l00275">_make_generate_array_filter()</a>, <a class="el" href="generate_8contents_8make_8inc_source.html#l00290">_make_generate_array_filter_key()</a>, <a class="el" href="engines_8inc_source.html#l00461">drush_load_engine()</a>, and <a class="el" href="make_8drush_8inc_source.html#l00019">MAKE_API</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_a6438e4c721b8177c7439acdea88a056b_cgraph.png" border="0" usemap="#generate_8contents_8make_8inc_a6438e4c721b8177c7439acdea88a056b_cgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_a6438e4c721b8177c7439acdea88a056b_cgraph" id="generate_8contents_8make_8inc_a6438e4c721b8177c7439acdea88a056b_cgraph">
<area shape="rect" id="node3" href="generate_8contents_8make_8inc.html#ac350a44d32b26c0de9f37d7cbd477ee5" title="_make_generate_array\l_filter" alt="" coords="221,234,376,281"/><area shape="rect" id="node5" href="generate_8contents_8make_8inc.html#a22c77dbccd0ca3bedd813a2f0711210e" title="_make_generate_array\l_filter_key" alt="" coords="221,303,376,350"/><area shape="rect" id="node7" href="engines_8inc.html#a8d6f32991f4806b9311373a0c9afcbd5" title="drush_load_engine" alt="" coords="233,373,364,403"/><area shape="rect" id="node9" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="619,63,749,92"/><area shape="rect" id="node15" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="837,165,949,195"/><area shape="rect" id="node35" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="875,320,912,349"/><area shape="rect" id="node51" href="engines_8inc.html#a24f80c817f3ad16e83ada78268b16aef" title="drush_select_engine" alt="" coords="427,425,568,455"/><area shape="rect" id="node60" href="commands_2core_2drupal_2environment_8inc.html#a643d851fd8dc63ea2ce8cf67aa33098c" title="drush_module_exists" alt="" coords="425,532,569,561"/><area shape="rect" id="node64" href="engines_8inc.html#a92390a2dd40c8ed5190be4af058813a8" title="drush_include_engine" alt="" coords="424,244,571,273"/><area shape="rect" id="node79" href="engines_8inc.html#a1eb2ea4e50529f3c7953f419956ce51a" title="drush_set_engine" alt="" coords="436,479,559,508"/><area shape="rect" id="node11" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="799,59,988,88"/><area shape="rect" id="node47" href="command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="815,5,972,35"/><area shape="rect" id="node49" href="command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="817,112,969,141"/><area shape="rect" id="node13" href="command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1039,60,1220,89"/><area shape="rect" id="node17" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1679,295,1807,324"/><area shape="rect" id="node20" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1469,113,1624,143"/><area shape="rect" id="node23" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="1091,165,1168,195"/><area shape="rect" id="node25" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="1300,165,1385,195"/><area shape="rect" id="node28" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="1499,60,1595,89"/><area shape="rect" id="node30" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="1692,139,1793,168"/><area shape="rect" id="node32" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1857,139,1991,168"/><area shape="rect" id="node37" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1063,311,1196,358"/><area shape="rect" id="node45" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="1060,381,1199,411"/><area shape="rect" id="node39" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1271,320,1415,349"/><area shape="rect" id="node42" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="1464,217,1629,247"/><area shape="rect" id="node53" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="624,427,744,456"/><area shape="rect" id="node55" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="829,373,957,403"/><area shape="rect" id="node58" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="819,427,968,456"/><area shape="rect" id="node67" href="drush_8inc.html#a80ce43b30f833522f72180811dab5a3e" title="drush_include" alt="" coords="633,271,735,300"/><area shape="rect" id="node74" href="drush_8inc.html#ac0c5cc8dc02832fb068ca98efd0712c4" title="drush_get_class" alt="" coords="625,217,743,247"/><area shape="rect" id="node81" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1279,531,1407,560"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9278fc4dc378fb42d217a56646d6d6d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">make_generate_print </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$contents</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$file</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Print the generated makefile to the terminal, or write it to a file.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$contents</td><td>The formatted contents of a makefile. </td></tr>
    <tr><td class="paramname">$file</td><td>(optional) The path to write the makefile. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="generate_8contents_8make_8inc_source.html#l00310">310</a> of file <a class="el" href="generate_8contents_8make_8inc_source.html">generate.contents.make.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l01252">drush_log()</a>, <a class="el" href="output_8inc_source.html#l00028">drush_print()</a>, <a class="el" href="output_8inc_source.html#l00149">dt()</a>, and <a class="el" href="make_8utilities_8inc_source.html#l00528">make_error()</a>.</p>

<p>Referenced by <a class="el" href="generate_8make_8inc_source.html#l00014">drush_make_generate()</a>, and <a class="el" href="generate_8contents_8make_8inc_source.html#l00085">make_generate_from_makefile()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_a9278fc4dc378fb42d217a56646d6d6d9_cgraph.png" border="0" usemap="#generate_8contents_8make_8inc_a9278fc4dc378fb42d217a56646d6d6d9_cgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_a9278fc4dc378fb42d217a56646d6d6d9_cgraph" id="generate_8contents_8make_8inc_a9278fc4dc378fb42d217a56646d6d6d9_cgraph">
<area shape="rect" id="node3" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="557,161,635,191"/><area shape="rect" id="node18" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="199,344,284,373"/><area shape="rect" id="node27" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="376,71,413,100"/><area shape="rect" id="node39" href="make_8utilities_8inc.html#aa2a78298291b42502718822ed5b59969" title="make_error" alt="" coords="199,239,284,268"/><area shape="rect" id="node5" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="767,161,852,191"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1145,213,1273,243"/><area shape="rect" id="node9" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="965,109,1061,139"/><area shape="rect" id="node15" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="936,213,1091,243"/><area shape="rect" id="node11" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="1159,57,1260,87"/><area shape="rect" id="node13" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1324,57,1457,87"/><area shape="rect" id="node20" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="335,369,455,399"/><area shape="rect" id="node22" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="532,369,660,399"/><area shape="rect" id="node25" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="521,423,671,452"/><area shape="rect" id="node29" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="529,62,663,109"/><area shape="rect" id="node37" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="527,9,665,39"/><area shape="rect" id="node31" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="737,57,881,87"/><area shape="rect" id="node34" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="931,5,1096,35"/><area shape="rect" id="node43" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="339,264,451,293"/><area shape="rect" id="node46" href="command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="505,316,687,345"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="generate_8contents_8make_8inc_a9278fc4dc378fb42d217a56646d6d6d9_icgraph.png" border="0" usemap="#generate_8contents_8make_8inc_a9278fc4dc378fb42d217a56646d6d6d9_icgraph" alt=""/></div>
<map name="generate_8contents_8make_8inc_a9278fc4dc378fb42d217a56646d6d6d9_icgraph" id="generate_8contents_8make_8inc_a9278fc4dc378fb42d217a56646d6d6d9_icgraph">
<area shape="rect" id="node3" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="199,5,348,35"/><area shape="rect" id="node5" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="201,58,345,105"/><area shape="rect" id="node7" href="lock_8make_8inc.html#a530a37e290fca3cca37be45095a71ddb" title="drush_make_lock" alt="" coords="405,40,528,69"/><area shape="rect" id="node9" href="update_8make_8inc.html#ae355a966b30dbcb83e5d10f1e35c6d48" title="drush_make_update" alt="" coords="397,93,536,123"/></map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Nov 2 2016 07:29:23 for Drush by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>