Mercurial > MadButterfly
annotate dox/install.h @ 848:702e4874a58a
Use the center as the default transformaqtion point.
author | wycc |
---|---|
date | Mon, 20 Sep 2010 21:47:21 +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 */ |