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)
 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 198 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 10 of file generate.contents.make.inc.

References drush_get_drupal_core_compatibility(), and MAKE_API.

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_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 83 of file generate.contents.make.inc.

References _drush_make_generate_makefile_contents(), _make_parse_info_file(), drush_get_option(), make_generate_print(), make_parse_info_file(), and make_prepare_projects().

Referenced by drush_make().

Here is the call graph for this function:

Here is the caller 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 173 of file generate.contents.make.inc.

References drush_log(), drush_print(), 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:

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="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</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>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><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: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#l00198">198</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#l00010">10</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#l00865">drush_get_drupal_core_compatibility()</a>, and <a class="el" href="make_8drush_8inc_source.html#l00016">MAKE_API</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#l00083">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_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="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="212,5,361,35"/><area shape="rect" id="node5" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="215,58,359,105"/><area shape="rect" id="node7" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="411,67,504,96"/></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#l00083">83</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#l00010">_drush_make_generate_makefile_contents()</a>, <a class="el" href="make_8utilities_8inc_source.html#l00072">_make_parse_info_file()</a>, <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>, <a class="el" href="generate_8contents_8make_8inc_source.html#l00173">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#l00283">make_prepare_projects()</a>.</p>

<p>Referenced by <a class="el" href="make_8drush_8inc_source.html#l00185">drush_make()</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#afbd48f8e43786bc9712f774585903694" title="_drush_make_generate\l_makefile_contents" alt="" coords="197,5,355,51"/><area shape="rect" id="node7" href="make_8utilities_8inc.html#acb37b7739b2d486d1920a413676c42bf" title="_make_parse_info_file" alt="" coords="200,501,352,531"/><area shape="rect" id="node9" href="make_8utilities_8inc.html#ac0c5ebc3f3671b4fe5723088000791fa" title="make_parse_info_file" alt="" coords="409,501,553,531"/><area shape="rect" id="node15" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1291,339,1411,368"/><area shape="rect" id="node93" href="generate_8contents_8make_8inc.html#a9278fc4dc378fb42d217a56646d6d6d9" title="make_generate_print" alt="" coords="841,393,983,423"/><area shape="rect" id="node101" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="403,1268,560,1297"/><area shape="rect" id="node5" href="includes_2environment_8inc.html#a02b3e67cdaf5abc38c32b207ba2aee60" title="drush_get_drupal_core\l_compatibility" alt="" coords="405,5,557,51"/><area shape="rect" id="node66" href="context_8inc.html#ade60e65f76863ed34db22f5e7f83a150" title="drush_get_option_list" alt="" coords="409,171,553,200"/><area shape="rect" id="node69" href="make_8utilities_8inc.html#a7e95eb7b8a11558344b42b0c653ca22a" title="make_prune_info_file" alt="" coords="616,785,760,815"/><area shape="rect" id="node74" href="make_8utilities_8inc.html#a6be8755a0ea68b9198e1e8cebbccff89" title="make_validate_info_file" alt="" coords="609,656,767,685"/><area shape="rect" id="node11" href="make_8utilities_8inc.html#aae2ffe8335a86abf135357cfdac212d0" title="make_get_data" alt="" coords="633,327,743,356"/><area shape="rect" id="node31" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1115,795,1152,824"/><area shape="rect" id="node39" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1077,1431,1189,1460"/><area shape="rect" id="node47" href="includes_2drupal_8inc.html#a47c8064fb8f359786a3bddaf55cd9953" title="_drush_drupal_parse\l_info_file" alt="" coords="617,379,759,426"/><area shape="rect" id="node49" href="make_8utilities_8inc.html#a060e42b6b94b1e06f584a8d1ed22ea9a" title="_make_is_override_allowed" alt="" coords="821,500,1003,529"/><area shape="rect" id="node56" href="context_8inc.html#aa4b55e2f6174c8b6efaa8f23a0f9e0af" title="drush_set_option" alt="" coords="628,1321,748,1351"/><area shape="rect" id="node59" href="make_8utilities_8inc.html#a170a00b5f9995b30585eafe2194c6fa9" title="make_valid_url" alt="" coords="633,449,743,479"/><area shape="rect" id="node61" href="make_8utilities_8inc.html#aa2a78298291b42502718822ed5b59969" title="make_error" alt="" coords="869,913,955,943"/><area shape="rect" id="node13" href="make_8download_8inc.html#a6381bf72fa72152dd12f122dbca83d78" title="_make_download_file" alt="" coords="1060,229,1207,259"/><area shape="rect" id="node23" href="drush_8inc.html#a903c36790dbe5525fe9369c8476780af" title="drush_op" alt="" coords="875,447,949,476"/><area shape="rect" id="node17" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1505,311,1633,340"/><area shape="rect" id="node19" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1697,880,1825,909"/><area shape="rect" id="node21" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1495,364,1644,393"/><area shape="rect" id="node25" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="1312,973,1389,1003"/><area shape="rect" id="node28" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1492,973,1647,1003"/><area shape="rect" id="node33" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1284,793,1417,839"/><area shape="rect" id="node35" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1497,851,1641,880"/><area shape="rect" id="node42" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1260,1353,1441,1383"/><area shape="rect" id="node52" href="drush_8inc.html#a6007ce294242d1f6e48cda703fbb8d3f" title="_convert_csv_to_array" alt="" coords="1056,691,1211,720"/><area shape="rect" id="node79" href="make_8utilities_8inc.html#a1a164b7feebadfc82cb93ad732c52a00" title="make_safe_path" alt="" coords="853,604,971,633"/><area shape="rect" id="node81" href="make_8utilities_8inc.html#a41ab4cf460a801be3983bef795a1318c" title="make_apply_defaults" alt="" coords="840,708,984,737"/><area shape="rect" id="node85" href="includes_2command_8inc.html#a385cd0ff47c30105f965722a81987809" title="drush_command_implements" alt="" coords="816,176,1008,205"/><area shape="rect" id="node87" href="includes_2command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="1272,77,1429,107"/><area shape="rect" id="node90" href="includes_2command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="1057,176,1209,205"/><area shape="rect" id="node95" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="1091,384,1176,413"/><area shape="rect" id="node106" href="make_8drush_8inc.html#a417d71dedd721df1232702d672ecde59" title="make_prepare_request" alt="" coords="611,1671,765,1700"/><area shape="rect" id="node109" href="updatexml_8inc.html#a1273e7da7133ada1987f4dde8859aad1" title="release_info_check\l_project" alt="" coords="621,1190,755,1237"/><area shape="rect" id="node119" href="make_8drush_8inc.html#a74cf0e56045632e43fcc16ce438d18e7" title="make_project_needs\l_release_info" alt="" coords="617,1723,759,1770"/><area shape="rect" id="node121" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="624,1268,752,1297"/><area shape="rect" id="node111" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="835,1190,989,1237"/><area shape="rect" id="node117" href="updatexml_8inc.html#ae556ea1b63e6891e533346ac95941058" title="updatexml_determine\l_project_type" alt="" coords="839,1017,985,1063"/><area shape="rect" id="node127" href="updatexml_8inc.html#a1e73b712ba22db38fb129740f4293914" title="updatexml_dev_release" alt="" coords="833,1380,991,1409"/><area shape="rect" id="node129" href="updatexml_8inc.html#ad751aa32c24838c1055d7bfcdf119bb4" title="updatexml_specific\l_release_version" alt="" coords="845,1433,979,1479"/><area shape="rect" id="node131" href="updatexml_8inc.html#a356068cfa3be6860ce7553c681888d58" title="updatexml_most_appropriate\l_release" alt="" coords="817,1502,1007,1549"/><area shape="rect" id="node134" href="updatexml_8inc.html#a77d3e30a6d929bcfcbddaf167177dfab" title="updatexml_get_releases\l_from_xml" alt="" coords="831,1259,993,1306"/><area shape="rect" id="node138" href="updatexml_8inc.html#a6850a54b3ea4ca22b4e64b14851712bc" title="release_info_filter\l_releases" alt="" coords="851,1571,973,1618"/><area shape="rect" id="node140" href="group__userinput.html#ga7e823bcd58051b17e6e5601340f0c784" title="drush_choice" alt="" coords="863,340,961,369"/><area shape="rect" id="node146" href="group__errorhandling.html#ga366aaafdf8c774a58653c64a65b6d91c" title="drush_user_abort" alt="" coords="851,1137,973,1167"/></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="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="197,13,291,43"/></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#l00173">173</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#l01413">drush_log()</a>, <a class="el" href="output_8inc_source.html#l00026">drush_print()</a>, and <a class="el" href="output_8inc_source.html#l00145">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#l00083">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#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="363,25,440,54"/><area shape="rect" id="node10" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="199,129,284,158"/><area shape="rect" id="node19" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="223,186,260,216"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="756,52,884,81"/><area shape="rect" id="node7" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="519,25,673,54"/><area shape="rect" id="node12" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="341,129,461,158"/><area shape="rect" id="node14" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="532,129,660,158"/><area shape="rect" id="node17" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="521,182,671,212"/><area shape="rect" id="node21" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="335,204,468,251"/><area shape="rect" id="node23" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="524,236,668,265"/><area shape="rect" id="node26" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="723,236,917,265"/></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="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="397,67,491,96"/></map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 8 2014 09:04:57 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>