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-kernel
74              By default, the Build-Kernel-Version field will not  be  written
75              out.
76
77              Specify  this  option  (since  dpkg  1.19.0)  to  always write a
78              Build-Kernel-Version field when generating the .buildinfo.
79
80       --always-include-path
81              By default, the Build-Path field will only  be  written  if  the
82              current directory starts with a whitelisted pattern.
83
84              On  Debian and derivatives the pattern matches on /build/ at the
85              start of the pathname.
86
87              Specify this option to always  write  a  Build-Path  field  when
88              generating the .buildinfo.
89
90       --admindir=dir
91              Change  the  location of the dpkg database. The default location
92              is /var/lib/dpkg.
93
94       -q     dpkg-genbuildinfo might produce informative messages on standard
95              error.  -q suppresses these messages.
96
97       -?, --help
98              Show the usage message and exit.
99
100       --version
101              Show the version and exit.
102

ENVIRONMENT

104       DEB_BUILD_OPTIONS
105              This  variable can be used to enable or disable various features
106              that affect the information included in the .buildinfo file, via
107              the buildinfo option (since dpkg 1.18.19).  This option contains
108              a comma-separated list of features, prefixed with the ‘+’ or ‘-
109              modifiers,  to  denote  whether  to enable or disable them.  The
110              special feature “all” can be used to enable or disable all other
111              features.     The    feature    “path”   controls   whether   to
112              unconditionally include the Build-Path field.
113
114       DPKG_COLORS
115              Sets the color mode (since dpkg 1.18.5).  The currently accepted
116              values are: auto (default), always and never.
117
118       DPKG_NLS
119              If  set,  it  will  be used to decide whether to activate Native
120              Language Support, also known as internationalization  (or  i18n)
121              support  (since  dpkg 1.19.0).  The accepted values are: 0 and 1
122              (default).
123

FILES

125       debian/files
126              The list of generated files.  dpkg-genbuildinfo reads  the  data
127              here when producing a .buildinfo file.
128

SEE ALSO

130       deb-buildinfo(5).
131
132
133
1341.19.7                            2019-06-03              dpkg-genbuildinfo(1)
Impressum