MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Compare Revisions

Getting comm-central Source Code Using Mercurial

Change Revisions

Revision 101063:

Revision 101063 by Standard8 on

Revision 101064:

Revision 101064 by Standard8 on

Title:
Getting comm-central Source Code Using Mercurial
Getting comm-central Source Code Using Mercurial
Slug:
Developer_Guide/Source_Code/Getting_comm-central
Developer_Guide/Source_Code/Getting_comm-central
Tags:
NeedsHelp, NeedsEditorialReview, thunderbird, Mercurial, SeaMonkey, "Developing Mozilla", "Build documentation", "MDC Project"
NeedsHelp, NeedsEditorialReview, thunderbird, Mercurial, SeaMonkey, "Developing Mozilla", "Build documentation", "MDC Project"
Content:

Revision 101063
Revision 101064
n22    <h3 name=".3D_Checking_out_a_source_tree">n22    <h3 name="Checking_out_a_source_tree">
23      = Checking out a source tree23      Checking out a source tree
tt77    <h3 name="Building">
78      Building
79    </h3>
80    <h4 name="Thunderbird_and_SeaMonkey">
81      Thunderbird and SeaMonkey
82    </h4>
83    <p>
84      <a href="en/Configuring_Build_Options">Configure</a> and bu
 >ild as usual using a <tt>.mozconfig</tt> file and <tt>make -f cli
 >ent.mk</tt>.
85    </p>
86    <pre class="eval">
87# Generate a mozconfig yourself, or use this minimal default one 
 >for Thunderbird
88echo '. $topsrcdir/mail/config/mozconfig' &gt; .mozconfig
89 
90# configure will be automatically generated using the 'autoconf-2
 >.13'
91# command.  If autoconf-2.13 isn't the right name for your system
 >, as
92# is the case on OS X using MacPorts and on Ubuntu Linux, use the
 > 
93# real command name as demonstrated below. (Note: it's "autoconf2
 >.13"
94# rather than "autoconf213" for Ubuntu 8.04, at least.)
95echo 'mk_add_options AUTOCONF=autoconf213' &gt;&gt; .mozconfig
96 
97# Now do the build; configure will be run automatically
98make -f client.mk build
99</pre>
100    <h4 name="Firefox_and_xulrunner">
101      Firefox and xulrunner
102    </h4>
103    <p>
104      As client.py pulls mozilla-central, builds and development 
 >of Firefox and xulrunner can take place within a repository from 
 >comm-central. The only difference is that you will need to go int
 >o the mozilla/ directory before running the build command:
105    </p>
106    <pre class="eval">
107cd src/mozilla
108make -f client.mk build
109</pre>

Back to History