]>
Commit | Line | Data |
---|---|---|
5d725cc9 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
2 | <html> | |
3 | <head> | |
4 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"> | |
5 | <meta name="Author" content="KaiRo - Robert Kaiser"> | |
6 | <title>Das Mozilla-Build-System - mozconfig</title> | |
7 | <link rel="stylesheet" type="text/css" href="slides.css"> | |
8 | <script type="text/javascript" src="slides.js"></script> | |
9 | <link rel="contents" href="index.html" title="Übersicht"> | |
10 | <link rel="index" href="toc.html" title="Inhalt"> | |
11 | <link rel="start" href="index.html" title="Beginn"> | |
12 | <link rel="first" href="slide_introduction.html" title="Erste Seite"> | |
13 | <link rel="previous" href="slide_getstarted.html" title="Vorige Seite"> | |
14 | <link rel="next" href="slide_buildapp.html" title="Nächste Seite"> | |
15 | <link rel="last" href="slide_end.html" title="Letzte Seite"> | |
16 | </head> | |
17 | <body> | |
18 | <div id="header"><div id="header-text">Das Mozilla-Build-System</div> | |
19 | <img id="headerlogo" src="template/header-logo.png" alt=""> | |
20 | </div> | |
21 | <div id="slidenav"><div id="subheader-text">MAOW Berlin 2009</div> | |
22 | <a href="toc.html" accesskey="h">Inhalt</a> || | |
23 | <a href="index.html" accesskey="B">Beginn</a> || | |
24 | <a href="slide_getstarted.html" accesskey="Z">< Zurück</a> | | |
25 | <a href="slide_buildapp.html" id="goNext" accesskey="W">Weiter ></a> | |
26 | </div> | |
27 | ||
28 | <h1>Die Einstellungen - mozconfig</h1> | |
29 | ||
30 | <div class="simplebox"> | |
31 | <ul> | |
32 | <li>Eine <code>mozconfig</code>-Datei enthält alle Einstellungen für | |
33 | einen Build-System-Durchlauf: | |
34 | <pre># mozconfig-testext | |
35 | # objdir setzten, relativ zum Quellcode | |
36 | mk_add_options MOZ_OBJDIR=../objdir-testext | |
37 | # nur testext-Erweiterung bauen | |
38 | ac_add_options --enable-application=extensions | |
39 | ac_add_options --enable-extensions=testext | |
40 | # Dieses Beispiel braucht keinen Compiler | |
41 | ac_add_options --disable-compile-environment</pre> | |
42 | </li> | |
43 | <li>Unsere Erweiterung liegt in <code>mozilla-central/extensions/testext/</code></li> | |
44 | <li>Befehle zum "Bauen": | |
45 | <pre>cd mozilla-central | |
46 | MOZCONFIG=../mozconfig-testext make -f client.mk configure | |
47 | cd ../objdir-testext | |
48 | make -C extensions</pre> | |
49 | </li> | |
50 | <li>Das fertige XPI-Paket findet sich in | |
51 | <code>objdir-testext/dist/xpi-stage/</code> und eine "vorinstallierte" | |
52 | Version in <code>objdir-testext/dist/bin/extensions</code></li> | |
53 | </ul> | |
54 | </div> | |
55 | </div> | |
56 | ||
57 | </body> | |
58 | </html> |