| 1 |
Packaging `midisnoop` |
| 2 |
===================== |
| 3 |
|
| 4 |
Contents: |
| 5 |
|
| 6 |
1. Install Parts |
| 7 |
2. Install Options For Packagers |
| 8 |
|
| 9 |
1. Install Parts |
| 10 |
---------------- |
| 11 |
|
| 12 |
A `midisnoop` install is made up of two files: |
| 13 |
|
| 14 |
1. `midisnoop` - The application. |
| 15 |
2. `midisnoop.desktop` - The desktop file. |
| 16 |
|
| 17 |
2. Install Options For Packagers |
| 18 |
-------------------------------- |
| 19 |
|
| 20 |
`midisnoop` is built using the typical UNIX build process (`configure`, `make`, |
| 21 |
`make install`). There are several options that you can pass to the configure |
| 22 |
script in order to select what will or will not be built, and where each item |
| 23 |
will be installed: |
| 24 |
|
| 25 |
$ ./configure --help |
| 26 |
Usage: configure [options] [qmake-args] |
| 27 |
|
| 28 |
Options: |
| 29 |
-h, --help show this help message and exit |
| 30 |
--bin-dir=BINDIR Install directory for midisnoop executable |
| 31 |
--build-dir=BUILDDIR Build directory |
| 32 |
--data-dir=DATADIR Install directory for general data files |
| 33 |
--data-root-dir=DATAROOTDIR |
| 34 |
Install root for data files |
| 35 |
--debug Build a debug executable |
| 36 |
--exec-prefix=EXECPREFIX |
| 37 |
Install prefix for executable data |
| 38 |
--make-dir=MAKEDIR Make directory |
| 39 |
--prefix=PREFIX Install prefix |
| 40 |
|
| 41 |
After building `midisnoop`, you may want to set the install path for to a |
| 42 |
different location than the 'prefix' for packaging purposes. To do this, |
| 43 |
execute: |
| 44 |
|
| 45 |
make install INSTALL_ROOT=/path/to/some/location |
| 46 |
|
| 47 |
You *must* make sure that the path is not a relative path. |