1dpkg-genbuildinfo(1)              dpkg suite              dpkg-genbuildinfo(1)
2
3
4

NAME

6       dpkg-genbuildinfo - generate Debian .buildinfo files
7

SYNOPSIS

9       dpkg-genbuildinfo [option...]
10

DESCRIPTION

12       dpkg-genbuildinfo  reads  information from an unpacked and built Debian
13       source tree and from the files it has generated and generates a  Debian
14       control  file  describing the build environment and the build artifacts
15       (.buildinfo file).
16
17       This command was introduced in dpkg 1.18.11.
18

OPTIONS

20       --build=type
21              Specifies  the  build  type  from  a  comma-separated  list   of
22              components.
23
24              The allowed values are:
25
26              any    Generate  build  information  including unqualified build
27                     dependencies (Build-Depends)  and  architecture  specific
28                     build dependencies (Build-Depends-Arch).
29
30              all    Generate  build  information  including unqualified build
31                     dependencies (Build-Depends) and architecture independent
32                     build dependencies (Build-Depends-Indep).
33
34              source Effectively ignored; generate build information with just
35                     the unqualified build dependencies (Build-Depends).
36
37              binary Generate build information with all three types of  build
38                     dependencies.  This is an alias for any,all.
39
40              full   Generate  build information with all three types of build
41                     dependencies.  This is an alias for  any,all,source,  and
42                     the  same  as  the  default  case when no build option is
43                     specified.
44
45       -ccontrolfile
46              Specifies the main source control file to read information from.
47              The default is debian/control.
48
49       -lchangelog-file
50              Specifies  the  changelog  file  to  read  information from. The
51              default is debian/changelog.
52
53       -ffiles-list-file
54              Specifies where is the list of files that have been produced  by
55              the build, rather than using debian/files.
56
57       -Fchangelog-format
58              Specifies     the     format     of     the    changelog.    See
59              dpkg-parsechangelog(1)   for   information   about   alternative
60              formats.
61
62       -O[filename]
63              Print  the  buildinfo  file  to  standard output (or filename if
64              specified)    rather     than     to     dir/source-name_binary-
65              version_arch.buildinfo  (where  dir  is .. by default or upload-
66              files-dir if -u was used).
67
68       -uupload-files-dir
69              Look for the files to be  uploaded  in  upload-files-dir  rather
70              than ..  (dpkg-genbuildinfo needs to find these files so that it
71              can include their sizes and checksums in the .buildinfo file).
72
73       --always-include-path
74              By default, the Build-Path field will only  be  written  if  the
75              current directory starts with a whitelisted pattern.
76
77              On  Debian and derivatives the pattern matches on /build/ at the
78              start of the pathname.
79
80              Specify this option to always  write  a  Build-Path  field  when
81              generating the .buildinfo.
82
83       --admindir=dir
84              Change  the  location of the dpkg database. The default location
85              is /var/lib/dpkg.
86
87       -q     dpkg-genbuildinfo might produce informative messages on standard
88              error.  -q suppresses these messages.
89
90       -?, --help
91              Show the usage message and exit.
92
93       --version
94              Show the version and exit.
95

ENVIRONMENT

97       DEB_BUILD_OPTIONS
98              This  variable can be used to enable or disable various features
99              that affect the information included in the .buildinfo file, via
100              the buildinfo option (since dpkg 1.18.19).  This option contains
101              a comma-separated list of features, prefixed with the ‘+’ or ‘-
102              modifiers,  to  denote  whether  to enable or disable them.  The
103              special feature “all” can be used to enable or disable all other
104              features.     The    feature    “path”   controls   whether   to
105              unconditionally include the Build-Path field.
106

FILES

108       debian/files
109              The list of generated files.  dpkg-genbuildinfo reads  the  data
110              here when producing a .buildinfo file.
111

SEE ALSO

113       deb-buildinfo(5).
114
115
116
1171.18.25                           2018-06-26              dpkg-genbuildinfo(1)
Impressum