Makefile: always pass VERBOSE to the make command
[olsrd.git] / COVERITY
1 Building for a Coverity scan:
2
3
4 Setting up you build tooling:
5 =============================
6 1. Go to http://scan.coverity.com/self-build/ and follow the 'Do once'
7    instructions.
8      1. Download and extract the tarball relevant to your system.
9      2. Add the (extracted) bin directory to your path
10
11
12 Building:
13 =========
14 Make sure to be in the directory of the source tree (we assume a git checkout
15 in this description), and run the following commands:
16      ccache -C
17      git clean -fdx
18      git reset --hard
19      cov-build --dir cov-int make DESTDIR="$(pwd)/dist" build_all install_all
20      tar czf "$(pwd)/dist/olsr.tgz" cov-int
21
22 Lookup the following data:
23      1. the (Coverity) project USERNAME
24      2. the (Coverity) project PASSWORD
25      3. your EMAIL address on which you want to receive an analysis confirmation
26
27 Now upload the build (you will need the project USERNAME and PASSWORD for this):
28      curl --form file="@$(pwd)/dist/olsr.tgz" \
29           --form project=USERNAME \
30           --form password=PASSWORD \
31           --form email=EMAIL \
32           http://scan5.coverity.com/cgi-bin/upload.py