NAME | SYNOPSIS | DESCRIPTION | OPTIONS | FILES | SEE ALSO | COLOPHON

dpkg-genbuildinfo(1)             dpkg suite             dpkg-genbuildinfo(1)

NAME         top

       dpkg-genbuildinfo - generate Debian .buildinfo files

SYNOPSIS         top

       dpkg-genbuildinfo [option...]

DESCRIPTION         top

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

OPTIONS         top

       --build=type
              Specifies the build type from a comma-separated list of
              components.
              The allowed values are:
              any    Generate build information including unqualified build
                     dependencies (Build-Depends) and architecture specific
                     build dependencies (Build-Depends-Arch).
              all    Generate build information including unqualified build
                     dependencies (Build-Depends) and architecture
                     independent build dependencies (Build-Depends-Indep).
              source Effectively ignored; generate build information with
                     just the unqualified build dependencies
                     (Build-Depends).
              binary Generate build information with all three types of
                     build dependencies.  This is an alias for any,all.
              full   Generate build information with all three types of
                     build dependencies.  This is an alias for
                     any,all,source, and the same as the default case when
                     no build option is specified.
       -ccontrolfile
              Specifies the main source control file to read information
              from. The default is debian/control.
       -lchangelog-file
              Specifies the changelog file to read information from. The
              default is debian/changelog.
       -ffiles-list-file
              Specifies where is the list of files that have been produced
              by the build, rather than using debian/files.
       -Fchangelog-format
              Specifies the format of the changelog. See
              dpkg-parsechangelog(1) for information about alternative
              formats.
       -O[filename]
              Print the buildinfo file to standard output (or filename if
              specified) rather than to dir/source-name_source-
              version_arch.buildinfo (where dir is .. by default or upload-
              files-dir if -u was used).
       -uupload-files-dir
              Look for the files to be uploaded in upload-files-dir rather
              than ..  (dpkg-genbuildinfo needs to find these files so that
              it can include their sizes and checksums in the .buildinfo
              file).
       --always-include-path
              By default, the Build-Path field will only be written if the
              current directory starts with a whitelisted pattern.
              On Debian and derivatives the pattern matches on /build/ at
              the start of the pathname.
              Specify this option to always write a Build-Path field when
              generating the .buildinfo.
       --admindir=dir
              Change the location of the dpkg database. The default location
              is /var/lib/dpkg.
       -q     dpkg-genbuildinfo might produce informative messages on
              standard error.  -q suppresses these messages.
       -?, --help
              Show the usage message and exit.
       --version
              Show the version and exit.

FILES         top

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

SEE ALSO         top

       deb-buildinfo(5).

COLOPHON         top

       This page is part of the dpkg (Debian Package Manager) project.
       Information about the project can be found at 
       ⟨https://wiki.debian.org/Teams/Dpkg/⟩.  If you have a bug report for
       this manual page, see 
       ⟨http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=dpkg⟩.  This page
       was obtained from the project's upstream Git repository 
       ⟨git://git.debian.org/git/dpkg/dpkg.git⟩ on 2017-07-05.  If you dis‐
       cover any rendering problems in this HTML version of the page, or you
       believe there is a better or more up-to-date source for the page, or
       you have corrections or improvements to the information in this
       COLOPHON (which is not part of the original manual page), send a mail
       to man-pages@man7.org
1.18.15-3-ga2ef                  1970-01-01             dpkg-genbuildinfo(1)

Pages that refer to this page: dpkg-buildpackage(1)deb-buildinfo(5)