|
@@ -5,40 +5,40 @@ dpkg\-source, dpkg\-gencontrol, dpkg\-shlibdeps, dpkg\-genchanges,
|
|
|
dpkg\-buildpackage, dpkg\-distaddfile, dpkg\-parsechangelog
|
|
dpkg\-buildpackage, dpkg\-distaddfile, dpkg\-parsechangelog
|
|
|
\- Debian source package tools
|
|
\- Debian source package tools
|
|
|
.SH SYNOPSIS
|
|
.SH SYNOPSIS
|
|
|
-.B dpkg-source
|
|
|
|
|
-.BI "-x " filename .dsc
|
|
|
|
|
|
|
+.B dpkg\-source
|
|
|
|
|
+.BI "\-x " filename .dsc
|
|
|
.br
|
|
.br
|
|
|
-.B dpkg-source -b
|
|
|
|
|
|
|
+.B dpkg\-source \-b
|
|
|
.RI [ options "] " directory " [" orig-directory |'']
|
|
.RI [ options "] " directory " [" orig-directory |'']
|
|
|
.br
|
|
.br
|
|
|
-.B dpkg-gencontrol
|
|
|
|
|
|
|
+.B dpkg\-gencontrol
|
|
|
.RI [ options ]
|
|
.RI [ options ]
|
|
|
.br
|
|
.br
|
|
|
-.B dpkg-shlibdeps
|
|
|
|
|
|
|
+.B dpkg\-shlibdeps
|
|
|
.IR options
|
|
.IR options
|
|
|
.br
|
|
.br
|
|
|
-.B dpkg-genchanges
|
|
|
|
|
|
|
+.B dpkg\-genchanges
|
|
|
.RI [ options ]
|
|
.RI [ options ]
|
|
|
.br
|
|
.br
|
|
|
-.B dpkg-buildpackage
|
|
|
|
|
|
|
+.B dpkg\-buildpackage
|
|
|
.RI [ options ]
|
|
.RI [ options ]
|
|
|
.br
|
|
.br
|
|
|
-.B dpkg-distaddfile
|
|
|
|
|
|
|
+.B dpkg\-distaddfile
|
|
|
.RI [ options ] " filename section priority"
|
|
.RI [ options ] " filename section priority"
|
|
|
.br
|
|
.br
|
|
|
-.B dpkg-parsechangelog
|
|
|
|
|
|
|
+.B dpkg\-parsechangelog
|
|
|
.RI [ options ]
|
|
.RI [ options ]
|
|
|
.SH DESCRIPTION
|
|
.SH DESCRIPTION
|
|
|
-.B dpkg-source
|
|
|
|
|
|
|
+.B dpkg\-source
|
|
|
packs and unpacks Debian source archives.
|
|
packs and unpacks Debian source archives.
|
|
|
|
|
|
|
|
-.B dpkg-gencontrol
|
|
|
|
|
|
|
+.B dpkg\-gencontrol
|
|
|
reads information from an unpacked Debian source tree and generates a
|
|
reads information from an unpacked Debian source tree and generates a
|
|
|
binary package control file (which defaults to debian/tmp/DEBIAN/control);
|
|
binary package control file (which defaults to debian/tmp/DEBIAN/control);
|
|
|
it also adds an entry for the binary package to
|
|
it also adds an entry for the binary package to
|
|
|
.BR debian/files .
|
|
.BR debian/files .
|
|
|
|
|
|
|
|
-.B dpkg-shlibdeps
|
|
|
|
|
|
|
+.B dpkg\-shlibdeps
|
|
|
calculates shared library dependencies for executables named in its
|
|
calculates shared library dependencies for executables named in its
|
|
|
arguments. The dependencies are added to the substitution
|
|
arguments. The dependencies are added to the substitution
|
|
|
variables file
|
|
variables file
|
|
@@ -50,7 +50,7 @@ where
|
|
|
is a dependency field name. Any other variables starting
|
|
is a dependency field name. Any other variables starting
|
|
|
.I shlibs:
|
|
.I shlibs:
|
|
|
are removed from the file.
|
|
are removed from the file.
|
|
|
-.B dpkg-shlibdeps
|
|
|
|
|
|
|
+.B dpkg\-shlibdeps
|
|
|
will read shared library dependency information from
|
|
will read shared library dependency information from
|
|
|
.BR debian/shlibs.local ,
|
|
.BR debian/shlibs.local ,
|
|
|
.BR /etc/dpkg/shlibs.override ,
|
|
.BR /etc/dpkg/shlibs.override ,
|
|
@@ -64,21 +64,21 @@ The first match will be used. See the
|
|
|
.I Debian packaging manual
|
|
.I Debian packaging manual
|
|
|
for details of the format of shared library dependency files.
|
|
for details of the format of shared library dependency files.
|
|
|
|
|
|
|
|
-.B dpkg-genchanges
|
|
|
|
|
|
|
+.B dpkg\-genchanges
|
|
|
reads information from an unpacked and built Debian source tree and
|
|
reads information from an unpacked and built Debian source tree and
|
|
|
from the files it has generated and generates a Debian upload control
|
|
from the files it has generated and generates a Debian upload control
|
|
|
file
|
|
file
|
|
|
.RB ( .changes " file)."
|
|
.RB ( .changes " file)."
|
|
|
|
|
|
|
|
-.B dpkg-buildpackage
|
|
|
|
|
|
|
+.B dpkg\-buildpackage
|
|
|
is a control script which can be used to help automate the building of
|
|
is a control script which can be used to help automate the building of
|
|
|
a package.
|
|
a package.
|
|
|
|
|
|
|
|
-.B dpkg-distaddfile
|
|
|
|
|
|
|
+.B dpkg\-distaddfile
|
|
|
adds an entry for a named file to
|
|
adds an entry for a named file to
|
|
|
.BR debian/files .
|
|
.BR debian/files .
|
|
|
|
|
|
|
|
-.B dpkg-parsechangelog
|
|
|
|
|
|
|
+.B dpkg\-parsechangelog
|
|
|
reads and parses the changelog of an unpacked Debian source tree and
|
|
reads and parses the changelog of an unpacked Debian source tree and
|
|
|
outputs the information in it to standard output in a machine-readable
|
|
outputs the information in it to standard output in a machine-readable
|
|
|
form.
|
|
form.
|
|
@@ -90,143 +90,143 @@ separate argument.
|
|
|
Many of these programs share options; these are described here,
|
|
Many of these programs share options; these are described here,
|
|
|
together with the programs that accept them.
|
|
together with the programs that accept them.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -h
|
|
|
|
|
|
|
+.BI \-h
|
|
|
Display the particular program's version and usage message, including
|
|
Display the particular program's version and usage message, including
|
|
|
a synopsis of the options it understands. This option is understood
|
|
a synopsis of the options it understands. This option is understood
|
|
|
by all the source package tools.
|
|
by all the source package tools.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -v version
|
|
|
|
|
|
|
+.BI \-v version
|
|
|
In
|
|
In
|
|
|
-.BR dpkg-buildpackage ", " dpkg-genchanges " and " dpkg-parsechangelog
|
|
|
|
|
|
|
+.BR dpkg\-buildpackage ", " dpkg\-genchanges " and " dpkg\-parsechangelog
|
|
|
this causes changelog information from all versions strictly later
|
|
this causes changelog information from all versions strictly later
|
|
|
than
|
|
than
|
|
|
.I version
|
|
.I version
|
|
|
to be used.
|
|
to be used.
|
|
|
|
|
|
|
|
In
|
|
In
|
|
|
-.BR dpkg-gencontrol
|
|
|
|
|
|
|
+.BR dpkg\-gencontrol
|
|
|
it sets the version number of the binary package which will be
|
|
it sets the version number of the binary package which will be
|
|
|
generated.
|
|
generated.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -C changesdescription
|
|
|
|
|
|
|
+.BI \-C changesdescription
|
|
|
Read the description of the changes from the file
|
|
Read the description of the changes from the file
|
|
|
.I changesdescription
|
|
.I changesdescription
|
|
|
rather than using the information from the source tree's changelog
|
|
rather than using the information from the source tree's changelog
|
|
|
file. This is understood by
|
|
file. This is understood by
|
|
|
-.BR dpkg-buildpackage " and " dpkg-genchanges .
|
|
|
|
|
|
|
+.BR dpkg\-buildpackage " and " dpkg\-genchanges .
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -m maintaineraddress
|
|
|
|
|
|
|
+.BI \-m maintaineraddress
|
|
|
Use
|
|
Use
|
|
|
.I maintaineraddress
|
|
.I maintaineraddress
|
|
|
as the name and email address of the maintainer for this package,
|
|
as the name and email address of the maintainer for this package,
|
|
|
rather than using the information from the source tree's control.
|
|
rather than using the information from the source tree's control.
|
|
|
This is understood by
|
|
This is understood by
|
|
|
-.BR dpkg-buildpackage " and " dpkg-genchanges .
|
|
|
|
|
|
|
+.BR dpkg\-buildpackage " and " dpkg\-genchanges .
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -e maintaineraddress
|
|
|
|
|
|
|
+.BI \-e maintaineraddress
|
|
|
Use
|
|
Use
|
|
|
.I maintaineraddress
|
|
.I maintaineraddress
|
|
|
as the name and email address of the maintainer for this upload,
|
|
as the name and email address of the maintainer for this upload,
|
|
|
rather than using the information from the source tree's changelog.
|
|
rather than using the information from the source tree's changelog.
|
|
|
This is understood by
|
|
This is understood by
|
|
|
-.BR dpkg-buildpackage " and " dpkg-genchanges .
|
|
|
|
|
|
|
+.BR dpkg\-buildpackage " and " dpkg\-genchanges .
|
|
|
.TP
|
|
.TP
|
|
|
-.BR -si ", " -sa ", " -sd
|
|
|
|
|
|
|
+.BR \-si ", " \-sa ", " \-sd
|
|
|
These options control whether the original source archive is included
|
|
These options control whether the original source archive is included
|
|
|
in the upload generated by
|
|
in the upload generated by
|
|
|
-.BR dpkg-buildpackage " and " dpkg-genchanges
|
|
|
|
|
|
|
+.BR dpkg\-buildpackage " and " dpkg\-genchanges
|
|
|
if any source is being generated (ie,
|
|
if any source is being generated (ie,
|
|
|
-.BR -b " or " -B
|
|
|
|
|
|
|
+.BR \-b " or " \-B
|
|
|
haven't been used).
|
|
haven't been used).
|
|
|
|
|
|
|
|
By default, or if
|
|
By default, or if
|
|
|
-.B -si
|
|
|
|
|
|
|
+.B \-si
|
|
|
is specified, the original source will be included if the version
|
|
is specified, the original source will be included if the version
|
|
|
number ends in
|
|
number ends in
|
|
|
-.BR -0 " or " -1 ,
|
|
|
|
|
|
|
+.BR \-0 " or " \-1 ,
|
|
|
ie if the Debian revision part of the version number is
|
|
ie if the Debian revision part of the version number is
|
|
|
.BR 0 " or " 1 .
|
|
.BR 0 " or " 1 .
|
|
|
|
|
|
|
|
-.B -sa
|
|
|
|
|
|
|
+.B \-sa
|
|
|
forces the inclusion of the original source;
|
|
forces the inclusion of the original source;
|
|
|
-.B -sd
|
|
|
|
|
|
|
+.B \-sd
|
|
|
forces its exclusion and includes only the diff.
|
|
forces its exclusion and includes only the diff.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -V name = value
|
|
|
|
|
|
|
+.BI \-V name = value
|
|
|
Set an output substitution variable.
|
|
Set an output substitution variable.
|
|
|
This option is understood by
|
|
This option is understood by
|
|
|
-.BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
|
|
|
|
|
|
|
+.BR dpkg\-source ", " dpkg\-gencontrol " and " dpkg\-genchanges .
|
|
|
See below for a discussion of output substitution.
|
|
See below for a discussion of output substitution.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -T substvarsfile
|
|
|
|
|
|
|
+.BI \-T substvarsfile
|
|
|
Read (or, for
|
|
Read (or, for
|
|
|
-.BR dpkg-shlibdeps ,
|
|
|
|
|
|
|
+.BR dpkg\-shlibdeps ,
|
|
|
write) substitution variables in
|
|
write) substitution variables in
|
|
|
.IR substvarsfile ;
|
|
.IR substvarsfile ;
|
|
|
the default is
|
|
the default is
|
|
|
.BR debian/substvars .
|
|
.BR debian/substvars .
|
|
|
This option is understood by
|
|
This option is understood by
|
|
|
-.BR dpkg-source ", " dpkg-gencontrol ", " dpkg-shlibdeps " and " dpkg-genchanges .
|
|
|
|
|
|
|
+.BR dpkg\-source ", " dpkg\-gencontrol ", " dpkg\-shlibdeps " and " dpkg\-genchanges .
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -D field = value
|
|
|
|
|
|
|
+.BI \-D field = value
|
|
|
Override or add an output control file field.
|
|
Override or add an output control file field.
|
|
|
This option is understood by
|
|
This option is understood by
|
|
|
-.BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
|
|
|
|
|
|
|
+.BR dpkg\-source ", " dpkg\-gencontrol " and " dpkg\-genchanges .
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -U field
|
|
|
|
|
|
|
+.BI \-U field
|
|
|
Remove an output control file field.
|
|
Remove an output control file field.
|
|
|
This option is understood by
|
|
This option is understood by
|
|
|
-.BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
|
|
|
|
|
|
|
+.BR dpkg\-source ", " dpkg\-gencontrol " and " dpkg\-genchanges .
|
|
|
.TP
|
|
.TP
|
|
|
-.BR -b | -B | -S
|
|
|
|
|
|
|
+.BR \-b | \-B | \-S
|
|
|
For
|
|
For
|
|
|
-.BR dpkg-genchanges " and " dpkg-buildpackage
|
|
|
|
|
-.BR -b " and " -B
|
|
|
|
|
|
|
+.BR dpkg\-genchanges " and " dpkg\-buildpackage
|
|
|
|
|
+.BR \-b " and " \-B
|
|
|
specify that a binary-only build is taking place.
|
|
specify that a binary-only build is taking place.
|
|
|
-.B -b
|
|
|
|
|
|
|
+.B \-b
|
|
|
indicates that no source files are to be built and/or distributed, and
|
|
indicates that no source files are to be built and/or distributed, and
|
|
|
-.B -B
|
|
|
|
|
|
|
+.B \-B
|
|
|
that no architecture-independent binary package files are to be
|
|
that no architecture-independent binary package files are to be
|
|
|
distributed either.
|
|
distributed either.
|
|
|
-.B -S
|
|
|
|
|
|
|
+.B \-S
|
|
|
specifies that only the source should be uploaded and no binary packages
|
|
specifies that only the source should be uploaded and no binary packages
|
|
|
need to be made. The distinction between
|
|
need to be made. The distinction between
|
|
|
-.BR -b " and " -B
|
|
|
|
|
|
|
+.BR \-b " and " \-B
|
|
|
is only used by
|
|
is only used by
|
|
|
-.BR dpkg-buildpackage ;
|
|
|
|
|
-.B dpkg-genchanges
|
|
|
|
|
|
|
+.BR dpkg\-buildpackage ;
|
|
|
|
|
+.B dpkg\-genchanges
|
|
|
just produces a
|
|
just produces a
|
|
|
.B .changes
|
|
.B .changes
|
|
|
file for whatever files were produced by the
|
|
file for whatever files were produced by the
|
|
|
-.B binary-*
|
|
|
|
|
|
|
+.B binary\-*
|
|
|
target(s) of the package being built.
|
|
target(s) of the package being built.
|
|
|
|
|
|
|
|
-.B -b
|
|
|
|
|
|
|
+.B \-b
|
|
|
tells
|
|
tells
|
|
|
-.B dpkg-source
|
|
|
|
|
|
|
+.B dpkg\-source
|
|
|
to build a source package (rather than to extract one) - see below.
|
|
to build a source package (rather than to extract one) - see below.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -c controlfile
|
|
|
|
|
|
|
+.BI \-c controlfile
|
|
|
Specifies the main source control file to read information from. The
|
|
Specifies the main source control file to read information from. The
|
|
|
default is
|
|
default is
|
|
|
.BR debian/control .
|
|
.BR debian/control .
|
|
|
This option is understood by
|
|
This option is understood by
|
|
|
-.BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
|
|
|
|
|
|
|
+.BR dpkg\-source ", " dpkg\-gencontrol " and " dpkg\-genchanges .
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -l changelogfile
|
|
|
|
|
|
|
+.BI \-l changelogfile
|
|
|
Specifies the change log file to read information from. The
|
|
Specifies the change log file to read information from. The
|
|
|
default is
|
|
default is
|
|
|
.BR debian/changelog .
|
|
.BR debian/changelog .
|
|
|
This option is understood by
|
|
This option is understood by
|
|
|
-.BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
|
|
|
|
|
|
|
+.BR dpkg\-source ", " dpkg\-gencontrol " and " dpkg\-genchanges .
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -f fileslistfile
|
|
|
|
|
|
|
+.BI \-f fileslistfile
|
|
|
Read or write the list of files to be uploaded here, rather than using
|
|
Read or write the list of files to be uploaded here, rather than using
|
|
|
.BR debian/files .
|
|
.BR debian/files .
|
|
|
This option is understood by
|
|
This option is understood by
|
|
|
-.BR dpkg-gencontrol ", " dpkg-genchanges " and " dpkg-distaddfile .
|
|
|
|
|
|
|
+.BR dpkg\-gencontrol ", " dpkg\-genchanges " and " dpkg\-distaddfile .
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -F changelogformat
|
|
|
|
|
|
|
+.BI \-F changelogformat
|
|
|
Specifies the format of the changelog. By default the format is read
|
|
Specifies the format of the changelog. By default the format is read
|
|
|
from a special line near the bottom of the changelog (see the
|
|
from a special line near the bottom of the changelog (see the
|
|
|
Debian packaging manual) or failing that defaults to
|
|
Debian packaging manual) or failing that defaults to
|
|
@@ -234,33 +234,33 @@ Debian packaging manual) or failing that defaults to
|
|
|
the standard format described in the
|
|
the standard format described in the
|
|
|
.IR "Debian packaging manual" .
|
|
.IR "Debian packaging manual" .
|
|
|
This option is understood by
|
|
This option is understood by
|
|
|
-.BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges .
|
|
|
|
|
|
|
+.BR dpkg\-source ", " dpkg\-gencontrol " and " dpkg\-genchanges .
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -W
|
|
|
|
|
-This option turns certain errors into warnings. Only dpkg-source uses
|
|
|
|
|
|
|
+.BI \-W
|
|
|
|
|
+This option turns certain errors into warnings. Only dpkg\-source uses
|
|
|
this, but
|
|
this, but
|
|
|
-.BR dpkg-buildpackage
|
|
|
|
|
|
|
+.BR dpkg\-buildpackage
|
|
|
recognizes it, and passes it thru to
|
|
recognizes it, and passes it thru to
|
|
|
-.BR dpkg-source "."
|
|
|
|
|
|
|
+.BR dpkg\-source "."
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -E
|
|
|
|
|
|
|
+.BI \-E
|
|
|
This option negates a previously set
|
|
This option negates a previously set
|
|
|
-.BR -W "."
|
|
|
|
|
|
|
+.BR \-W "."
|
|
|
It is currently only understood by
|
|
It is currently only understood by
|
|
|
-.BR dpkg-buildpackage " and " dpkg-source "."
|
|
|
|
|
-.SH DPKG-SOURCE OPTIONS
|
|
|
|
|
|
|
+.BR dpkg\-buildpackage " and " dpkg\-source "."
|
|
|
|
|
+.SH dpkg\-SOURCE OPTIONS
|
|
|
When the common options
|
|
When the common options
|
|
|
-.BR -c " and " -l
|
|
|
|
|
|
|
+.BR \-c " and " \-l
|
|
|
are given with relative pathnames these are interpreted starting at
|
|
are given with relative pathnames these are interpreted starting at
|
|
|
the source tree's top level directory.
|
|
the source tree's top level directory.
|
|
|
.TP
|
|
.TP
|
|
|
-.B -x
|
|
|
|
|
|
|
+.B \-x
|
|
|
Extract a source package. One non-option argument should be supplied,
|
|
Extract a source package. One non-option argument should be supplied,
|
|
|
the name of the Debian source control file
|
|
the name of the Debian source control file
|
|
|
.RB ( .dsc ).
|
|
.RB ( .dsc ).
|
|
|
No options are useful with
|
|
No options are useful with
|
|
|
-.BR "dpkg-source -x" .
|
|
|
|
|
-.B dpkg-source
|
|
|
|
|
|
|
+.BR "dpkg\-source \-x" .
|
|
|
|
|
+.B dpkg\-source
|
|
|
will read the names of the other file(s) making up the source package
|
|
will read the names of the other file(s) making up the source package
|
|
|
from the control file; they are assumed to be in the same directory as
|
|
from the control file; they are assumed to be in the same directory as
|
|
|
the
|
|
the
|
|
@@ -274,14 +274,14 @@ extractors' umask; if the parent directory is setgid then the
|
|
|
extracted directories will be too, and all the files and directories
|
|
extracted directories will be too, and all the files and directories
|
|
|
will inherit its group ownership.
|
|
will inherit its group ownership.
|
|
|
.TP
|
|
.TP
|
|
|
-.B -b
|
|
|
|
|
|
|
+.B \-b
|
|
|
Build: pack up a source tree. One or two non-option arguments should
|
|
Build: pack up a source tree. One or two non-option arguments should
|
|
|
be supplied. The first is taken as the name of the directory
|
|
be supplied. The first is taken as the name of the directory
|
|
|
containing the unpacked source tree. If a second argument is supplied
|
|
containing the unpacked source tree. If a second argument is supplied
|
|
|
it should be the name of the original source directory or tarfile or
|
|
it should be the name of the original source directory or tarfile or
|
|
|
the empty string if the package is a Debian-specific one and so has no
|
|
the empty string if the package is a Debian-specific one and so has no
|
|
|
Debianisation diffs. If no second argument is supplied then
|
|
Debianisation diffs. If no second argument is supplied then
|
|
|
-.B dpkg-source
|
|
|
|
|
|
|
+.B dpkg\-source
|
|
|
will look for the original source tarfile
|
|
will look for the original source tarfile
|
|
|
.IB package _ upstream-version .orig.tar.gz
|
|
.IB package _ upstream-version .orig.tar.gz
|
|
|
or the original source directory
|
|
or the original source directory
|
|
@@ -289,64 +289,64 @@ or the original source directory
|
|
|
or the empty string (no original source, and so no diff) depending on
|
|
or the empty string (no original source, and so no diff) depending on
|
|
|
the arguments.
|
|
the arguments.
|
|
|
.TP
|
|
.TP
|
|
|
-.B -i[<regexp>]
|
|
|
|
|
|
|
+.B \-i[<regexp>]
|
|
|
You may specify a perl regular expression to match files you want
|
|
You may specify a perl regular expression to match files you want
|
|
|
filtered out of the list of files for the diff. (This list is
|
|
filtered out of the list of files for the diff. (This list is
|
|
|
-generated by a find command.) \fB-i\fR by itself enables the option,
|
|
|
|
|
-with a default that will filter out CVS, RCS and libtool .deps
|
|
|
|
|
-subdirectories, and all files within them, as well as ~ suffixed
|
|
|
|
|
-backup files and DEADJOEs.
|
|
|
|
|
|
|
+generated by a find command.) \fB\-i\fR by itself enables the option,
|
|
|
|
|
+with a default that will filter out control files and directories of the
|
|
|
|
|
+most common revision control systems, backup and swap files and Libtool
|
|
|
|
|
+build output directories.
|
|
|
|
|
|
|
|
This is very helpful in cutting out extraneous files that get included
|
|
This is very helpful in cutting out extraneous files that get included
|
|
|
in the .diff.gz, (eg: "debian/BUGS_TODO/*" or "debian/RCS/*,v"). For
|
|
in the .diff.gz, (eg: "debian/BUGS_TODO/*" or "debian/RCS/*,v"). For
|
|
|
instance, if you maintain a package that you track via remote CVS,
|
|
instance, if you maintain a package that you track via remote CVS,
|
|
|
where you don't have access permissions for commiting the debian
|
|
where you don't have access permissions for commiting the debian
|
|
|
-control files and making tags for \fIcvs-buildpackage(1)\fR, it is
|
|
|
|
|
|
|
+control files and making tags for \fIcvs\-buildpackage(1)\fR, it is
|
|
|
necessary to perform an extra checkout/update into a directory you
|
|
necessary to perform an extra checkout/update into a directory you
|
|
|
keep pristine, to generate the .orig.tar.gz from. That directory will
|
|
keep pristine, to generate the .orig.tar.gz from. That directory will
|
|
|
have CVS/Entries files in it that will contain timestamps that differ
|
|
have CVS/Entries files in it that will contain timestamps that differ
|
|
|
from the ones in your working directory, thus causing them to be
|
|
from the ones in your working directory, thus causing them to be
|
|
|
-unnecessarily included in every .diff.gz, unless you use the \fB-i\fR
|
|
|
|
|
|
|
+unnecessarily included in every .diff.gz, unless you use the \fB\-i\fR
|
|
|
switch.
|
|
switch.
|
|
|
.TP
|
|
.TP
|
|
|
-.B -I<filename>
|
|
|
|
|
-If this option is specified, the filename will be passed to tar's --exclude
|
|
|
|
|
|
|
+.B \-I<filename>
|
|
|
|
|
+If this option is specified, the filename will be passed to tar's \-\-exclude
|
|
|
option when it is called to generate a .orig.tar.gz or .tar.gz file. For
|
|
option when it is called to generate a .orig.tar.gz or .tar.gz file. For
|
|
|
-example, -ICVS will make tar skip over CVS directories when generating
|
|
|
|
|
|
|
+example, \-ICVS will make tar skip over CVS directories when generating
|
|
|
a .tar.gz file. The option may be repeated multiple times to list multiple
|
|
a .tar.gz file. The option may be repeated multiple times to list multiple
|
|
|
filenames to exclude.
|
|
filenames to exclude.
|
|
|
.TP
|
|
.TP
|
|
|
-.BR -sa , -sp , -su , -sk , -sA , -sP , -sU , -sK , -ss " with " -b
|
|
|
|
|
|
|
+.BR \-sa , \-sp , \-su , \-sk , \-sA , \-sP , \-sU , \-sK , \-ss " with " \-b
|
|
|
If
|
|
If
|
|
|
-.BR -sk " or " -sp
|
|
|
|
|
|
|
+.BR \-sk " or " \-sp
|
|
|
is specified
|
|
is specified
|
|
|
-.B dpkg-source
|
|
|
|
|
|
|
+.B dpkg\-source
|
|
|
expects the original source as a tarfile, by default
|
|
expects the original source as a tarfile, by default
|
|
|
.IB package _ upstream-version .orig.tar.gz\fR.
|
|
.IB package _ upstream-version .orig.tar.gz\fR.
|
|
|
It will leave this original source in place as a tarfile, or copy it
|
|
It will leave this original source in place as a tarfile, or copy it
|
|
|
to the current directory if it isn't already there
|
|
to the current directory if it isn't already there
|
|
|
If
|
|
If
|
|
|
-.B -sp
|
|
|
|
|
|
|
+.B \-sp
|
|
|
is used rather than
|
|
is used rather than
|
|
|
-.B -sk
|
|
|
|
|
|
|
+.B \-sk
|
|
|
it will remove it again afterwards.
|
|
it will remove it again afterwards.
|
|
|
|
|
|
|
|
If
|
|
If
|
|
|
-.BR -su " or " -sr
|
|
|
|
|
|
|
+.BR \-su " or " \-sr
|
|
|
is specified the original source is expected as a directory, by
|
|
is specified the original source is expected as a directory, by
|
|
|
default
|
|
default
|
|
|
.IB package - upstream-version .orig
|
|
.IB package - upstream-version .orig
|
|
|
and
|
|
and
|
|
|
-.B dpkg-source
|
|
|
|
|
|
|
+.B dpkg\-source
|
|
|
will create a new original source archive from it. If
|
|
will create a new original source archive from it. If
|
|
|
-.B -sr
|
|
|
|
|
|
|
+.B \-sr
|
|
|
is used
|
|
is used
|
|
|
-.B dpkg-source will remove that directory after it has been used.
|
|
|
|
|
|
|
+.B dpkg\-source will remove that directory after it has been used.
|
|
|
|
|
|
|
|
If
|
|
If
|
|
|
-.B -ss
|
|
|
|
|
|
|
+.B \-ss
|
|
|
is specified
|
|
is specified
|
|
|
-.B dpkg-source
|
|
|
|
|
|
|
+.B dpkg\-source
|
|
|
will expect that the original source is available both as a directory
|
|
will expect that the original source is available both as a directory
|
|
|
and as a tarfile. If will use the directory to create the diff, but
|
|
and as a tarfile. If will use the directory to create the diff, but
|
|
|
the tarfile to create the
|
|
the tarfile to create the
|
|
@@ -355,83 +355,83 @@ This option must be used with care - if the directory and tarfile do
|
|
|
not match a bad source archive will be generated.
|
|
not match a bad source archive will be generated.
|
|
|
|
|
|
|
|
If
|
|
If
|
|
|
-.B -sn
|
|
|
|
|
|
|
+.B \-sn
|
|
|
is specified
|
|
is specified
|
|
|
-.B dpkg-source
|
|
|
|
|
|
|
+.B dpkg\-source
|
|
|
will not look for any original source, and will not generate a diff.
|
|
will not look for any original source, and will not generate a diff.
|
|
|
The second argument, if supplied, must be the empty string. This is
|
|
The second argument, if supplied, must be the empty string. This is
|
|
|
used for Debian-specific packages which do not have a separate
|
|
used for Debian-specific packages which do not have a separate
|
|
|
upstream source and therefore have no debianisation diffs.
|
|
upstream source and therefore have no debianisation diffs.
|
|
|
|
|
|
|
|
If
|
|
If
|
|
|
-.BR -sa " or " -sA
|
|
|
|
|
|
|
+.BR \-sa " or " \-sA
|
|
|
is specified
|
|
is specified
|
|
|
-.B dpkg-source
|
|
|
|
|
|
|
+.B dpkg\-source
|
|
|
will look for the original source archive as a tarfile or as a
|
|
will look for the original source archive as a tarfile or as a
|
|
|
directory - the second argument, if any, may be either, or the empty
|
|
directory - the second argument, if any, may be either, or the empty
|
|
|
string (this is equivalent to using
|
|
string (this is equivalent to using
|
|
|
-.BR -sn ).
|
|
|
|
|
|
|
+.BR \-sn ).
|
|
|
If a tarfile is found it will unpack it to create the diff and remove
|
|
If a tarfile is found it will unpack it to create the diff and remove
|
|
|
it afterwards (this is equivalent to
|
|
it afterwards (this is equivalent to
|
|
|
-.BR -sp );
|
|
|
|
|
|
|
+.BR \-sp );
|
|
|
if a directory is found it will pack it to create the original source
|
|
if a directory is found it will pack it to create the original source
|
|
|
and remove it afterwards (this is equivalent to
|
|
and remove it afterwards (this is equivalent to
|
|
|
-.BR -sr );
|
|
|
|
|
|
|
+.BR \-sr );
|
|
|
if neither is found it will assume that the package has no
|
|
if neither is found it will assume that the package has no
|
|
|
debianisation diffs, only a straightforward source archive (this is
|
|
debianisation diffs, only a straightforward source archive (this is
|
|
|
equivalent to
|
|
equivalent to
|
|
|
-.BR -sn ).
|
|
|
|
|
-If both are found then dpkg-source will ignore the directory,
|
|
|
|
|
|
|
+.BR \-sn ).
|
|
|
|
|
+If both are found then dpkg\-source will ignore the directory,
|
|
|
overwriting it, if
|
|
overwriting it, if
|
|
|
-.B -sA
|
|
|
|
|
|
|
+.B \-sA
|
|
|
was specified (this is equivalent to
|
|
was specified (this is equivalent to
|
|
|
-.BR -sP )
|
|
|
|
|
|
|
+.BR \-sP )
|
|
|
or raise an error if
|
|
or raise an error if
|
|
|
-.B -sa
|
|
|
|
|
|
|
+.B \-sa
|
|
|
was specified.
|
|
was specified.
|
|
|
-.B -sA
|
|
|
|
|
|
|
+.B \-sA
|
|
|
is the default.
|
|
is the default.
|
|
|
|
|
|
|
|
-.BR -sa ", " -sp ", " -sk ", " -su " and " -sr
|
|
|
|
|
|
|
+.BR \-sa ", " \-sp ", " \-sk ", " \-su " and " \-sr
|
|
|
will not overwrite existing tarfiles or directories. If this is
|
|
will not overwrite existing tarfiles or directories. If this is
|
|
|
desired then
|
|
desired then
|
|
|
-.BR -sA ", " -sP ", " -sK ", " -sU " and " -sR
|
|
|
|
|
|
|
+.BR \-sA ", " \-sP ", " \-sK ", " \-sU " and " \-sR
|
|
|
should be used instead.
|
|
should be used instead.
|
|
|
.TP
|
|
.TP
|
|
|
-.BR -sp , -su , -sn " with " -x
|
|
|
|
|
|
|
+.BR \-sp , \-su , \-sn " with " \-x
|
|
|
In all cases any existing original source tree will be removed.
|
|
In all cases any existing original source tree will be removed.
|
|
|
|
|
|
|
|
If
|
|
If
|
|
|
-.B -sp
|
|
|
|
|
|
|
+.B \-sp
|
|
|
is used when extracting then the original source (if any) will be left
|
|
is used when extracting then the original source (if any) will be left
|
|
|
as a tarfile. If it is not already located in the current directory
|
|
as a tarfile. If it is not already located in the current directory
|
|
|
or if an existing but different file is there it will be copied there.
|
|
or if an existing but different file is there it will be copied there.
|
|
|
This is the default.
|
|
This is the default.
|
|
|
|
|
|
|
|
-.B -su
|
|
|
|
|
|
|
+.B \-su
|
|
|
unpacks the original source tree.
|
|
unpacks the original source tree.
|
|
|
|
|
|
|
|
-.B -sn
|
|
|
|
|
|
|
+.B \-sn
|
|
|
ensures that the original source is neither copied to the current
|
|
ensures that the original source is neither copied to the current
|
|
|
directory nor unpacked. Any original source tree that was in the
|
|
directory nor unpacked. Any original source tree that was in the
|
|
|
current directory is still removed.
|
|
current directory is still removed.
|
|
|
-.SH DPKG-GENCONTROL OPTIONS
|
|
|
|
|
-.B dpkg-gencontrol
|
|
|
|
|
|
|
+.SH dpkg\-GENCONTROL OPTIONS
|
|
|
|
|
+.B dpkg\-gencontrol
|
|
|
does not take any non-option arguments.
|
|
does not take any non-option arguments.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -p package
|
|
|
|
|
|
|
+.BI \-p package
|
|
|
Generate information for the binary package
|
|
Generate information for the binary package
|
|
|
.IR package .
|
|
.IR package .
|
|
|
If the source control file lists only one binary package then this
|
|
If the source control file lists only one binary package then this
|
|
|
option may be omitted; otherwise it is essential to select which
|
|
option may be omitted; otherwise it is essential to select which
|
|
|
binary package's information to generate.
|
|
binary package's information to generate.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -n filename
|
|
|
|
|
|
|
+.BI \-n filename
|
|
|
Assume the filename of the package will be
|
|
Assume the filename of the package will be
|
|
|
.I filename
|
|
.I filename
|
|
|
instead of the normal package_version_arch.deb filename.
|
|
instead of the normal package_version_arch.deb filename.
|
|
|
.TP
|
|
.TP
|
|
|
-.BR -is ", " -ip ", " -isp
|
|
|
|
|
|
|
+.BR \-is ", " \-ip ", " \-isp
|
|
|
Include the
|
|
Include the
|
|
|
.BR Section " and " Priority
|
|
.BR Section " and " Priority
|
|
|
fields for this package from the main source control file in the
|
|
fields for this package from the main source control file in the
|
|
@@ -439,53 +439,53 @@ binary package control file being generated. Usually this information
|
|
|
is not included here, but only in the
|
|
is not included here, but only in the
|
|
|
.B .changes
|
|
.B .changes
|
|
|
file.
|
|
file.
|
|
|
-.B -isp
|
|
|
|
|
|
|
+.B \-isp
|
|
|
includes both fields,
|
|
includes both fields,
|
|
|
-.BR -is " only the " Section " and " -ip " only the " Priority .
|
|
|
|
|
|
|
+.BR \-is " only the " Section " and " \-ip " only the " Priority .
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -P packagebuilddir
|
|
|
|
|
|
|
+.BI \-P packagebuilddir
|
|
|
Tells
|
|
Tells
|
|
|
-.B dpkg-source
|
|
|
|
|
|
|
+.B dpkg\-source
|
|
|
that the package is being built in
|
|
that the package is being built in
|
|
|
.I packagebuilddir
|
|
.I packagebuilddir
|
|
|
instead of
|
|
instead of
|
|
|
.BR debian/tmp .
|
|
.BR debian/tmp .
|
|
|
This value is used to find the default value of the
|
|
This value is used to find the default value of the
|
|
|
-.B Installed-Size
|
|
|
|
|
|
|
+.B Installed\-Size
|
|
|
substitution variable and control file field (using
|
|
substitution variable and control file field (using
|
|
|
.BR du ),
|
|
.BR du ),
|
|
|
and for the default location of the output file.
|
|
and for the default location of the output file.
|
|
|
.TP
|
|
.TP
|
|
|
-.B -O
|
|
|
|
|
|
|
+.B \-O
|
|
|
Causes the control file to be printed to standard output, rather than
|
|
Causes the control file to be printed to standard output, rather than
|
|
|
to
|
|
to
|
|
|
.B debian/tmp/DEBIAN/control
|
|
.B debian/tmp/DEBIAN/control
|
|
|
(or
|
|
(or
|
|
|
.IB packagebuilddir /DEBIAN/control
|
|
.IB packagebuilddir /DEBIAN/control
|
|
|
if
|
|
if
|
|
|
-.B -P
|
|
|
|
|
|
|
+.B \-P
|
|
|
was used).
|
|
was used).
|
|
|
-.SH DPKG-SHLIBDEPS OPTIONS
|
|
|
|
|
-.B dpkg-shlibdeps
|
|
|
|
|
|
|
+.SH dpkg\-SHLIBDEPS OPTIONS
|
|
|
|
|
+.B dpkg\-shlibdeps
|
|
|
interprets non-option arguments as executable names, just as if they'd
|
|
interprets non-option arguments as executable names, just as if they'd
|
|
|
been supplied as
|
|
been supplied as
|
|
|
-.BI -e executable\fR.
|
|
|
|
|
|
|
+.BI \-e executable\fR.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -e executable
|
|
|
|
|
|
|
+.BI \-e executable
|
|
|
Include dependencies appropriate for the shared libraries required by
|
|
Include dependencies appropriate for the shared libraries required by
|
|
|
.IR executable .
|
|
.IR executable .
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -d dependencyfield
|
|
|
|
|
|
|
+.BI \-d dependencyfield
|
|
|
Add dependencies to be added to the control file dependency field
|
|
Add dependencies to be added to the control file dependency field
|
|
|
.IR dependencyfield .
|
|
.IR dependencyfield .
|
|
|
(The dependencies for this field are placed in the variable
|
|
(The dependencies for this field are placed in the variable
|
|
|
.BI shlibs: dependencyfield\fR.)
|
|
.BI shlibs: dependencyfield\fR.)
|
|
|
|
|
|
|
|
The
|
|
The
|
|
|
-.BI -d dependencyfield
|
|
|
|
|
|
|
+.BI \-d dependencyfield
|
|
|
option takes effect for all executables after the option, until the
|
|
option takes effect for all executables after the option, until the
|
|
|
next
|
|
next
|
|
|
-.BI -d dependencyfield\fR.
|
|
|
|
|
|
|
+.BI \-d dependencyfield\fR.
|
|
|
The default
|
|
The default
|
|
|
.I dependencyfield
|
|
.I dependencyfield
|
|
|
is
|
|
is
|
|
@@ -493,13 +493,13 @@ is
|
|
|
|
|
|
|
|
If the same dependency entry (or set of alternatives) appears in more
|
|
If the same dependency entry (or set of alternatives) appears in more
|
|
|
than one of the recognised dependency field names
|
|
than one of the recognised dependency field names
|
|
|
-.BR Pre-Depends ", " Depends ", " Recommends ", " Enhances " or " Suggests
|
|
|
|
|
|
|
+.BR Pre\-Depends ", " Depends ", " Recommends ", " Enhances " or " Suggests
|
|
|
then
|
|
then
|
|
|
-.B dpkg-shlibdeps
|
|
|
|
|
|
|
+.B dpkg\-shlibdeps
|
|
|
will automatically remove the dependency from all fields except the
|
|
will automatically remove the dependency from all fields except the
|
|
|
one representing the most important dependencies.
|
|
one representing the most important dependencies.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -p varnameprefix
|
|
|
|
|
|
|
+.BI \-p varnameprefix
|
|
|
Causes substitution variables to start with
|
|
Causes substitution variables to start with
|
|
|
.IB varnameprefix :
|
|
.IB varnameprefix :
|
|
|
instead of
|
|
instead of
|
|
@@ -510,51 +510,51 @@ Likewise, any existing substitution variables starting with
|
|
|
.BR shlibs: )
|
|
.BR shlibs: )
|
|
|
are removed from the the substitution variables file.
|
|
are removed from the the substitution variables file.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -L localshlibsfile
|
|
|
|
|
|
|
+.BI \-L localshlibsfile
|
|
|
Causes
|
|
Causes
|
|
|
-.B dpkg-shlibs
|
|
|
|
|
|
|
+.B dpkg\-shlibs
|
|
|
to read overriding shared library dependency information from
|
|
to read overriding shared library dependency information from
|
|
|
.I localshlibsfile
|
|
.I localshlibsfile
|
|
|
instead of
|
|
instead of
|
|
|
.BR debian/shlibs.local .
|
|
.BR debian/shlibs.local .
|
|
|
.TP
|
|
.TP
|
|
|
-.B -O
|
|
|
|
|
|
|
+.B \-O
|
|
|
Causes the substitution variable settings to be printed to standard
|
|
Causes the substitution variable settings to be printed to standard
|
|
|
output, rather than being added to the substitution variables file
|
|
output, rather than being added to the substitution variables file
|
|
|
.RB ( debian/substvars
|
|
.RB ( debian/substvars
|
|
|
by default).
|
|
by default).
|
|
|
-.SH DPKG-GENCHANGES OPTIONS
|
|
|
|
|
-.B dpkg-genchanges
|
|
|
|
|
|
|
+.SH dpkg\-GENCHANGES OPTIONS
|
|
|
|
|
+.B dpkg\-genchanges
|
|
|
does not take any non-option arguments.
|
|
does not take any non-option arguments.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -u uploadfilesdir
|
|
|
|
|
|
|
+.BI \-u uploadfilesdir
|
|
|
Look for the files to be uploaded in
|
|
Look for the files to be uploaded in
|
|
|
.I uploadfilesdir
|
|
.I uploadfilesdir
|
|
|
rather than
|
|
rather than
|
|
|
.B ..
|
|
.B ..
|
|
|
-.RB ( dpkg-genchanges
|
|
|
|
|
|
|
+.RB ( dpkg\-genchanges
|
|
|
needs to find these files so that it can include their sizes and
|
|
needs to find these files so that it can include their sizes and
|
|
|
checksums in the
|
|
checksums in the
|
|
|
.B .changes
|
|
.B .changes
|
|
|
file).
|
|
file).
|
|
|
.TP
|
|
.TP
|
|
|
-.B -q
|
|
|
|
|
|
|
+.B \-q
|
|
|
Usually
|
|
Usually
|
|
|
-.B dpkg-genchanges
|
|
|
|
|
|
|
+.B dpkg\-genchanges
|
|
|
will produce informative messages on standard error, for example about
|
|
will produce informative messages on standard error, for example about
|
|
|
how many of the package's source files are being uploaded.
|
|
how many of the package's source files are being uploaded.
|
|
|
-.B -q
|
|
|
|
|
|
|
+.B \-q
|
|
|
suppresses these messages.
|
|
suppresses these messages.
|
|
|
-.SH DPKG-BUILDPACKAGE OPTIONS
|
|
|
|
|
-.B dpkg-buildpackage
|
|
|
|
|
|
|
+.SH dpkg\-BUILDPACKAGE OPTIONS
|
|
|
|
|
+.B dpkg\-buildpackage
|
|
|
does not take any non-option arguments.
|
|
does not take any non-option arguments.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -k key-id
|
|
|
|
|
|
|
+.BI \-k key-id
|
|
|
Specify a key-ID to use when signing packages.
|
|
Specify a key-ID to use when signing packages.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -r gain-root-command
|
|
|
|
|
|
|
+.BI \-r gain-root-command
|
|
|
When
|
|
When
|
|
|
-.B dpkg-buildpackage
|
|
|
|
|
|
|
+.B dpkg\-buildpackage
|
|
|
needs to execute part of the build process as root, it prefixes the
|
|
needs to execute part of the build process as root, it prefixes the
|
|
|
command it executes with
|
|
command it executes with
|
|
|
.I gain-root-command
|
|
.I gain-root-command
|
|
@@ -572,15 +572,15 @@ might typically be
|
|
|
.BR fakeroot ", " sudo ", " super " or " really .
|
|
.BR fakeroot ", " sudo ", " super " or " really .
|
|
|
.B su
|
|
.B su
|
|
|
is not suitable, since it requires a
|
|
is not suitable, since it requires a
|
|
|
-.B -c
|
|
|
|
|
|
|
+.B \-c
|
|
|
option to run a command and even then it can only invoke the user's
|
|
option to run a command and even then it can only invoke the user's
|
|
|
shell with
|
|
shell with
|
|
|
-.B -c
|
|
|
|
|
|
|
+.B \-c
|
|
|
instead of passing arguments individually to the command to be run.
|
|
instead of passing arguments individually to the command to be run.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -p sign-command
|
|
|
|
|
|
|
+.BI \-p sign-command
|
|
|
When
|
|
When
|
|
|
-.B dpkg-buildpackage
|
|
|
|
|
|
|
+.B dpkg\-buildpackage
|
|
|
needs to execute GPG or PGP to sign a source control
|
|
needs to execute GPG or PGP to sign a source control
|
|
|
.RB ( .dsc )
|
|
.RB ( .dsc )
|
|
|
file or a
|
|
file or a
|
|
@@ -598,68 +598,68 @@ would have gotten. If
|
|
|
.I sign-command
|
|
.I sign-command
|
|
|
takes its arguments in GPG rather than PGP style, you should give
|
|
takes its arguments in GPG rather than PGP style, you should give
|
|
|
the
|
|
the
|
|
|
-.B -sgpg
|
|
|
|
|
|
|
+.B \-sgpg
|
|
|
option.
|
|
option.
|
|
|
.I sign-command
|
|
.I sign-command
|
|
|
should not contain spaces or any other shell metacharacters.
|
|
should not contain spaces or any other shell metacharacters.
|
|
|
.TP
|
|
.TP
|
|
|
-.B -tc
|
|
|
|
|
|
|
+.B \-tc
|
|
|
Clean the source tree (using
|
|
Clean the source tree (using
|
|
|
.I gain-root-command
|
|
.I gain-root-command
|
|
|
.BR "debian/rules clean" )
|
|
.BR "debian/rules clean" )
|
|
|
after the package has been built.
|
|
after the package has been built.
|
|
|
.TP
|
|
.TP
|
|
|
-.BR -us ", " -uc
|
|
|
|
|
|
|
+.BR \-us ", " \-uc
|
|
|
Do not sign the source package or the .changes file, respectively.
|
|
Do not sign the source package or the .changes file, respectively.
|
|
|
.TP
|
|
.TP
|
|
|
-.BI -a architecture
|
|
|
|
|
|
|
+.BI \-a architecture
|
|
|
Specify the Debian architecture we build for. The architecture of the
|
|
Specify the Debian architecture we build for. The architecture of the
|
|
|
machine we build on is determined automatically, and is also the default
|
|
machine we build on is determined automatically, and is also the default
|
|
|
for the host machine.
|
|
for the host machine.
|
|
|
.TP
|
|
.TP
|
|
|
-.B -i[<regexp>]
|
|
|
|
|
|
|
+.B \-i[<regexp>]
|
|
|
Passed unchanged to
|
|
Passed unchanged to
|
|
|
-.BR dpkg-source .
|
|
|
|
|
|
|
+.BR dpkg\-source .
|
|
|
.TP
|
|
.TP
|
|
|
-.B -I<filename>
|
|
|
|
|
|
|
+.B \-I<filename>
|
|
|
Passed unchanged to
|
|
Passed unchanged to
|
|
|
-.BR dpkg-source .
|
|
|
|
|
|
|
+.BR dpkg\-source .
|
|
|
May be repeated multiple times.
|
|
May be repeated multiple times.
|
|
|
.TP
|
|
.TP
|
|
|
-.B -D
|
|
|
|
|
|
|
+.B \-D
|
|
|
Check build dependencies and conflicts; abort if unsatisfied.
|
|
Check build dependencies and conflicts; abort if unsatisfied.
|
|
|
.TP
|
|
.TP
|
|
|
-.B -d
|
|
|
|
|
|
|
+.B \-d
|
|
|
Do not check build dependencies and conflicts.
|
|
Do not check build dependencies and conflicts.
|
|
|
.TP
|
|
.TP
|
|
|
-.B -nc
|
|
|
|
|
-Do not clean the source tree(implies -b).
|
|
|
|
|
-.SH DPKG-DISTADDFILE ARGUMENTS
|
|
|
|
|
-.B dpkg-distaddfile
|
|
|
|
|
|
|
+.B \-nc
|
|
|
|
|
+Do not clean the source tree(implies \-b).
|
|
|
|
|
+.SH dpkg\-DISTADDFILE ARGUMENTS
|
|
|
|
|
+.B dpkg\-distaddfile
|
|
|
does not take any non-common options. It takes three non-option
|
|
does not take any non-common options. It takes three non-option
|
|
|
arguments, the filename and the section and priority for the
|
|
arguments, the filename and the section and priority for the
|
|
|
.B .changes
|
|
.B .changes
|
|
|
file.
|
|
file.
|
|
|
|
|
|
|
|
The filename should be specified relative to the directory where
|
|
The filename should be specified relative to the directory where
|
|
|
-.B dpkg-genchanges
|
|
|
|
|
|
|
+.B dpkg\-genchanges
|
|
|
will expect to find the files, usually
|
|
will expect to find the files, usually
|
|
|
.BR .. ,
|
|
.BR .. ,
|
|
|
rather than being a pathname relative to the current directory when
|
|
rather than being a pathname relative to the current directory when
|
|
|
-.B dpkg-distaddfile
|
|
|
|
|
|
|
+.B dpkg\-distaddfile
|
|
|
is run.
|
|
is run.
|
|
|
-.SH DPKG-PARSECHANGELOG ARGUMENTS
|
|
|
|
|
-.B dpkg-parsechangelog
|
|
|
|
|
|
|
+.SH dpkg\-PARSECHANGELOG ARGUMENTS
|
|
|
|
|
+.B dpkg\-parsechangelog
|
|
|
does not take any non-common options or non-option arguments.
|
|
does not take any non-common options or non-option arguments.
|
|
|
.SH VARIABLE SUBSTITUTION
|
|
.SH VARIABLE SUBSTITUTION
|
|
|
Before
|
|
Before
|
|
|
-.BR dpkg-source ", " dpkg-gencontrol " and " dpkg-genchanges
|
|
|
|
|
|
|
+.BR dpkg\-source ", " dpkg\-gencontrol " and " dpkg\-genchanges
|
|
|
write their control information (to the source control file
|
|
write their control information (to the source control file
|
|
|
.B .dsc
|
|
.B .dsc
|
|
|
for
|
|
for
|
|
|
-.B dpkg-source
|
|
|
|
|
|
|
+.B dpkg\-source
|
|
|
and to standard output for
|
|
and to standard output for
|
|
|
-.BR dpkg-gencontrol " and " dpkg-genchanges )
|
|
|
|
|
|
|
+.BR dpkg\-gencontrol " and " dpkg\-genchanges )
|
|
|
they perform some variable substitutions on the output file.
|
|
they perform some variable substitutions on the output file.
|
|
|
|
|
|
|
|
A variable substitution has the form
|
|
A variable substitution has the form
|
|
@@ -677,11 +677,11 @@ string
|
|
|
sign.
|
|
sign.
|
|
|
|
|
|
|
|
Variables can be set using the
|
|
Variables can be set using the
|
|
|
-.B -V
|
|
|
|
|
|
|
+.B \-V
|
|
|
common option. They can be also specified in the file
|
|
common option. They can be also specified in the file
|
|
|
.B debian/substvars
|
|
.B debian/substvars
|
|
|
(or whatever other file is specified using the
|
|
(or whatever other file is specified using the
|
|
|
-.B -T
|
|
|
|
|
|
|
+.B \-T
|
|
|
option). This file consists of lines of the form
|
|
option). This file consists of lines of the form
|
|
|
.IB name = value\fR.
|
|
.IB name = value\fR.
|
|
|
Trailing whitespace on each line, blank lines, and
|
|
Trailing whitespace on each line, blank lines, and
|
|
@@ -693,27 +693,27 @@ Additionally, the following standard variables are available:
|
|
|
.TP
|
|
.TP
|
|
|
.BI Arch
|
|
.BI Arch
|
|
|
The current build architecture (from
|
|
The current build architecture (from
|
|
|
-.BR "dpkg \-\-print-architecture" ).
|
|
|
|
|
|
|
+.BR "dpkg \-\-print\-architecture" ).
|
|
|
.TP
|
|
.TP
|
|
|
-.B Source-Version
|
|
|
|
|
|
|
+.B Source\-Version
|
|
|
The source package version (from the changelog file).
|
|
The source package version (from the changelog file).
|
|
|
.TP
|
|
.TP
|
|
|
-.B Installed-Size
|
|
|
|
|
|
|
+.B Installed\-Size
|
|
|
The total size of the package's installed files. This value is copied
|
|
The total size of the package's installed files. This value is copied
|
|
|
into the corresponding control file field; setting it will modify the
|
|
into the corresponding control file field; setting it will modify the
|
|
|
value of that field. If this variable isn't set
|
|
value of that field. If this variable isn't set
|
|
|
-.B dpkg-gencontrol
|
|
|
|
|
|
|
+.B dpkg\-gencontrol
|
|
|
will use
|
|
will use
|
|
|
-.B du -k debian/tmp
|
|
|
|
|
|
|
+.B du \-k debian/tmp
|
|
|
to find the default value.
|
|
to find the default value.
|
|
|
.TP
|
|
.TP
|
|
|
-.B Extra-Size
|
|
|
|
|
|
|
+.B Extra\-Size
|
|
|
Additional disk space used when the package is installed. If this
|
|
Additional disk space used when the package is installed. If this
|
|
|
variable is set its value is added to that of the
|
|
variable is set its value is added to that of the
|
|
|
-.B Installed-Size
|
|
|
|
|
|
|
+.B Installed\-Size
|
|
|
variable (whether set explicitly or using the default value) before it
|
|
variable (whether set explicitly or using the default value) before it
|
|
|
is copied into the
|
|
is copied into the
|
|
|
-.B Installed-Size
|
|
|
|
|
|
|
+.B Installed\-Size
|
|
|
control file field.
|
|
control file field.
|
|
|
.TP
|
|
.TP
|
|
|
.BI F: fieldname
|
|
.BI F: fieldname
|
|
@@ -738,7 +738,7 @@ These variables each hold the corresponding character.
|
|
|
.TP
|
|
.TP
|
|
|
.BI shlibs: dependencyfield
|
|
.BI shlibs: dependencyfield
|
|
|
Variable settings with names of this form are generated by
|
|
Variable settings with names of this form are generated by
|
|
|
-.B dpkg-shlibdeps
|
|
|
|
|
|
|
+.B dpkg\-shlibdeps
|
|
|
- see above.
|
|
- see above.
|
|
|
.LP
|
|
.LP
|
|
|
If a variable is referred to but not defined it generates a warning
|
|
If a variable is referred to but not defined it generates a warning
|
|
@@ -759,12 +759,12 @@ number itself.
|
|
|
.B debian/files
|
|
.B debian/files
|
|
|
The list of generated files which are part of the upload being
|
|
The list of generated files which are part of the upload being
|
|
|
prepared.
|
|
prepared.
|
|
|
-.B dpkg-gencontrol
|
|
|
|
|
|
|
+.B dpkg\-gencontrol
|
|
|
adds the presumed filenames of binary packages whose control files it
|
|
adds the presumed filenames of binary packages whose control files it
|
|
|
generates here;
|
|
generates here;
|
|
|
-.B dpkg-distaddfile
|
|
|
|
|
|
|
+.B dpkg\-distaddfile
|
|
|
can be used to add additional files.
|
|
can be used to add additional files.
|
|
|
-.B dpkg-genchanges
|
|
|
|
|
|
|
+.B dpkg\-genchanges
|
|
|
reads the data here when producing a
|
|
reads the data here when producing a
|
|
|
.B .changes
|
|
.B .changes
|
|
|
file.
|
|
file.
|
|
@@ -815,5 +815,5 @@ This is free software; see the GNU General Public Licence version 2 or later
|
|
|
for copying conditions. There is NO WARRANTY. See
|
|
for copying conditions. There is NO WARRANTY. See
|
|
|
.B /usr/share/doc/dpkg/copyright
|
|
.B /usr/share/doc/dpkg/copyright
|
|
|
and
|
|
and
|
|
|
-.B /usr/share/common-licenses/GPL
|
|
|
|
|
|
|
+.B /usr/share/common\-licenses/GPL
|
|
|
for details.
|
|
for details.
|