From e629dfe6f8766b23c13613b27c6f0d7cbae346ab Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 13 Oct 2018 12:01:35 +0100 Subject: dgit(1): Combine descriptions of --clean=dpkg-source and ...-d We are going to add another dimension to the matrix here, which would result in a profusion of cases. Instead, combine the two sections. Signed-off-by: Ian Jackson --- dgit.1 | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/dgit.1 b/dgit.1 index 19a88fa..4521cd3 100644 --- a/dgit.1 +++ b/dgit.1 @@ -573,20 +573,23 @@ If there are files which are not in git, or if the build creates such files, a subsequent dgit push will fail. .TP -.BR --clean=dpkg-source " | " -wd +.BR --clean=dpkg-source "[" -d "] | " -wd " | " -wdd 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. -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 ), +--clean=dpkg-source is the default. + +Without the extra +.BR d , +requires the package's build dependencies. + +With +.BR ... -d +or +.BR -wdd , +the build-dependencies are not checked +(due to passing +.BR -d +to dpkg-buildpackage), which violates policy, but may work in practice. .TP .BR -N " | " --new -- cgit v1.2.3