<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/2042/1/7/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+Asterisk?focusedCommentId=13076648#comment-13076648">Building and Installing Asterisk</a></h2>
    <h4>Comment edited by             <a href="https://wiki.asterisk.org/wiki/display/~khratos">Jose P. Espinal</a>
     :</h4>
    <br/>
                        <h4>Changes (1)</h4>
                                
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >$ make install DESTDIR=/path/to/your/directory <br>{code} <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;"> <br>{code} <br>$ make samples DESTDIR=/another/custom/directory <br>{code} <br></td></tr>
            <tr><td class="diff-unchanged" >{tip} <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                          <div class="notificationGreySide">
            <div class='panelMacro'><table class='tipMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/wiki/images/icons/emoticons/check.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Custom Destination Directory</b><br />If for some reason you would like to have the binaries installed on a given directory, and the directory tree created starting from there you can use this:
<br class="atl-forced-newline" />
<br class="atl-forced-newline" />
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
$ make install DESTDIR=/path/to/your/directory
]]></script>
</div></div>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
$ make samples DESTDIR=/another/custom/directory
]]></script>
</div></div></td></tr></table></div>
        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+Asterisk?focusedCommentId=13076648#comment-13076648">View Online</a>
              |
       <a id="reply-13076648" href="https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+Asterisk?replyToComment=13076648#comment-13076648">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>