Mercurial > MadButterfly
annotate dox/install.h @ 1305:573a51b1eb37
domview_ui_comp as a mix-in to oven comp_dock and domview_ui
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 19 Jan 2011 18:28:16 +0800 |
parents | 85b8bb36fe71 |
children |
rev | line source |
---|---|
108 | 1 /*! \page install How to Build and Install MadButterfly? |
2 * | |
3 * Prerequisite | |
191
18f8c3126cdb
Refine installation instructions and document event dispatching by wycc.
Thinker K.F. Li <thinker@branda.to>
parents:
176
diff
changeset
|
4 * - autotools |
18f8c3126cdb
Refine installation instructions and document event dispatching by wycc.
Thinker K.F. Li <thinker@branda.to>
parents:
176
diff
changeset
|
5 * - autoconf |
18f8c3126cdb
Refine installation instructions and document event dispatching by wycc.
Thinker K.F. Li <thinker@branda.to>
parents:
176
diff
changeset
|
6 * - automake |
18f8c3126cdb
Refine installation instructions and document event dispatching by wycc.
Thinker K.F. Li <thinker@branda.to>
parents:
176
diff
changeset
|
7 * - libtools |
108 | 8 * - install Cairo |
327
85b8bb36fe71
Move and update in source documents
Thinker K.F. Li <thinker@branda.to>
parents:
191
diff
changeset
|
9 * - install Pango |
108 | 10 * |
110 | 11 * Get source |
12 * - hg clone http://hg.assembla.com/MadButterfly MadButterfly | |
13 * | |
108 | 14 * Build and Install |
110 | 15 * - cd MadButtfly |
191
18f8c3126cdb
Refine installation instructions and document event dispatching by wycc.
Thinker K.F. Li <thinker@branda.to>
parents:
176
diff
changeset
|
16 * - ./autogen.sh |
176
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
17 * - ./configure |
108 | 18 * - make |
19 * - make install | |
20 * | |
21 * Examples | |
22 * - cd examples/calculator | |
23 * - make | |
24 * - ./calc | |
118 | 25 * |
108 | 26 * - cd examples/svg2code_ex |
27 * - make | |
28 * - ./ex1 | |
118 | 29 * |
30 * - cd examples/tank | |
31 * - make | |
32 * - ./tank | |
176
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
33 * |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
34 * You can make examples with following command, |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
35 * \code |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
36 * make PREFIX=/path/to/some/where/ |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
37 * \endcode |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
38 * if MadButterfly was not installed in default path, with different prefix. |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
39 * |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
40 * You can install MadButterfly somewhere, other than /usr/local/. |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
41 * For example |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
42 * \code |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
43 * ./configure --prefix=${PWD}/dest |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
44 * \endcode |
108 | 45 */ |