chiark / gitweb /
Provide -wdd aka --clean=dpkg-source-d. Closes:#792433.
[dgit.git] / dgit.1
diff --git a/dgit.1 b/dgit.1
index c569347e658bb6480e12072b0985c5dcef4670e1..698bf2fdd0369cc8ef8bd91e069e52cb519b3248 100644 (file)
--- a/dgit.1
+++ b/dgit.1
@@ -267,7 +267,7 @@ from being run.
 
 --clean=git is useful when the package's clean target is troublesome;
 the downside is simply that git clean may delete files you forgot to
-git add.
+git add.  --clean=git can also avoid needing the build-dependencies.
 .TP
 .BR --clean=git-ff " | " -wgf
 The source tree should be cleaned, before building a source package
@@ -288,6 +288,15 @@ Use dpkg-buildpackage to do the clean, so that the source package
 is cleaned by dpkg-source running the package's clean target.
 This is the default.  It requires the package's build dependencies.
 .TP
+.BR --clean=dpkg-source-d " | " -wdd
+Use
+.B dpkg-buildpackage -d
+to do the clean, so that the source package
+is cleaned by dpkg-source running the package's clean target.
+The build-dependencies are not checked (due to
+.BR -d ),
+which violates policy, but may work in practice.
+.TP
 .BR -N " | " --new
 The package may be new in this suite.  Without this, dgit will
 refuse to push.