Mercurial > MadButterfly
annotate dox/install.h @ 191:18f8c3126cdb
Refine installation instructions and document event dispatching by wycc.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 18 Nov 2008 13:55:09 +0800 |
parents | 04c81b8a5d23 |
children | 85b8bb36fe71 |
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 |
9 * | |
110 | 10 * Get source |
11 * - hg clone http://hg.assembla.com/MadButterfly MadButterfly | |
12 * | |
108 | 13 * Build and Install |
110 | 14 * - cd MadButtfly |
191
18f8c3126cdb
Refine installation instructions and document event dispatching by wycc.
Thinker K.F. Li <thinker@branda.to>
parents:
176
diff
changeset
|
15 * - ./autogen.sh |
176
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
16 * - ./configure |
108 | 17 * - make |
18 * - make install | |
19 * | |
20 * Examples | |
21 * - cd examples/calculator | |
22 * - make | |
23 * - ./calc | |
118 | 24 * |
108 | 25 * - cd examples/svg2code_ex |
26 * - make | |
27 * - ./ex1 | |
118 | 28 * |
29 * - cd examples/tank | |
30 * - make | |
31 * - ./tank | |
176
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
32 * |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
33 * You can make examples with following command, |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
34 * \code |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
35 * make PREFIX=/path/to/some/where/ |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
36 * \endcode |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
37 * 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
|
38 * |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
39 * 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
|
40 * For example |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
41 * \code |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
42 * ./configure --prefix=${PWD}/dest |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
43 * \endcode |
108 | 44 */ |