doc/compilation.md: Add note for user folder or system wide installation after compilation. Fixes #497

pull/511/head
Jerry Jacobs 2016-10-29 12:08:39 +02:00
rodzic be66bbf200
commit 76196d22c7
1 zmienionych plików z 23 dodań i 0 usunięć

Wyświetl plik

@ -7,12 +7,35 @@
* Libusb 1.0
* (optional) pandoc for generating manpages from markdown
Run from the root of the source directory:
```
$ make release
$ make debug
```
The debug target should only be necessary for people who want
to modify the sources and run under a debugger.
The top level Makefile is just a handy wrapper for:
```
$ mkdir build && cd build
$ cmake -DCMAKE_BUILD_TYPE=Debug ..
$ make
```
You could install to a user folder e.g `$HOME`:
```
$ cd release; make install DESTDIR=$HOME
```
Or system wide:
```
$ cd release; sudo make install
```
## Linux
## Common requirements