summaryrefslogtreecommitdiff
path: root/scripts/dpkg-source.1
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dpkg-source.1')
-rw-r--r--scripts/dpkg-source.125
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/dpkg-source.1 b/scripts/dpkg-source.1
index ec9ae1f5a..3b9b253dd 100644
--- a/scripts/dpkg-source.1
+++ b/scripts/dpkg-source.1
@@ -265,6 +265,26 @@ or the original source directory
or the empty string (no original source, and so no diff) depending on
the arguments.
.TP
+.B -i[<regexp>]
+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
+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 DEAD_JOE's.
+
+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
+instance, if you maintain a package that you track via remote CVS,
+where you don't have access permissions for commiting the debian
+control files and making tags for \fIcvs-buildpackage(1)\fR, it is
+necessary to perform an extra checkout/update into a directory you
+keep pristine, to generate the .orig.tar.gz from. That directory will
+have CVS/Entries files in it that will contain timestamps that differ
+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
+switch.
+.TP
.BR -sa , -sp , -su , -sk , -sA , -sP , -sU , -sK , -ss " with " -b
If
.BR -sk " or " -sp
@@ -557,6 +577,11 @@ Do not sign the source package or the changelog, respectively.
Specify the Debian architecture we build for. The architecture of the
machine we build on is determined automatically, and is also the default
for the host machine.
+.TP
+.B -i[<regexp>]
+Passed unchanged to
+.B dpkg-source
+.TP
.SH DPKG-DISTADDFILE ARGUMENTS
.B dpkg-distaddfile
does not take any non-common options. It takes three non-option