~ubuntu-core-dev/pkgbinarymangler/ubuntu

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.TH pkgsanitychecks 1 "January 05, 2009" "Matthias Klose"

.SH NAME

pkgsanitychecks \- run sanity checks on the package

.SH SYNOPSIS

.B pkgsanitychecks
.IR directory

.SH DESCRIPTION

.B pkgsanitychecks
runs sanity checks on the binary packages and lets the build fail if the sanity
checks don't pass.

The following checks are run:
.TP
.B Location of public python modules
Starting with python-2.6 the public python modules are expected to be placed in
.I /usr/lib/pythonX.Y/dist-packages
instead of 
.I /usr/lib/pythonX.Y/site-packages.
.TP
.B Files in /usr/local
Checks if any files are placed in
.I /usr/local
instead of
.I /usr.

.SH ENVIRONMENT VARIABLES

.TP
.B NO_PKG_MANGLE
If this variable is set to a nonempty value, then pkgsanitychecks
is disabled. This is most useful if source packages build nested binary
packages as part of their build.

.SH AUTHOR
.B pkgsanitychecks
is developed by Matthias Klose <doko@ubuntu.com>.