Mercurial > MadButterfly
annotate dox/install.h @ 188:a7358d9127c8
autotoolize examples/tank
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 07 Nov 2008 15:18:22 +0800 |
parents | 04c81b8a5d23 |
children | 18f8c3126cdb |
rev | line source |
---|---|
108 | 1 /*! \page install How to Build and Install MadButterfly? |
2 * | |
3 * Prerequisite | |
4 * - install pmake (pmake is make of FreeBSD) | |
5 * - install Cairo | |
6 * | |
110 | 7 * Get source |
8 * - hg clone http://hg.assembla.com/MadButterfly MadButterfly | |
9 * | |
108 | 10 * Build and Install |
110 | 11 * - cd MadButtfly |
176
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
12 * - ./configure |
108 | 13 * - make |
14 * - make install | |
15 * | |
16 * Examples | |
17 * - cd examples/calculator | |
18 * - make | |
19 * - ./calc | |
118 | 20 * |
108 | 21 * - cd examples/svg2code_ex |
22 * - make | |
23 * - ./ex1 | |
118 | 24 * |
25 * - cd examples/tank | |
26 * - make | |
27 * - ./tank | |
176
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
28 * |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
29 * You can make examples with following command, |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
30 * \code |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
31 * make PREFIX=/path/to/some/where/ |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
32 * \endcode |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
33 * 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
|
34 * |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
35 * 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
|
36 * For example |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
37 * \code |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
38 * ./configure --prefix=${PWD}/dest |
04c81b8a5d23
Change documentation for installation
Thinker K.F. Li <thinker@branda.to>
parents:
118
diff
changeset
|
39 * \endcode |
108 | 40 */ |