Forgot to mention how debbuildopts would work with this patch.

Basically, each option to pass to dpkg-buildpackage would need
--debbuildopts in front of it. For example, to pass -S and -sa, use:

--debbuildopts -S --debbuildopts -sa

I've attached another patch that updates the man pages. The space
delimited list of options as was described in the man pages before
never worked for me.

Andres Mejia
--- pbuilder.8.bak	2007-06-19 12:56:18.000000000 -0400
+++ pbuilder.8	2007-06-19 13:30:59.000000000 -0400
@@ -348,11 +348,22 @@
 .TP
 .BI "\-\-debbuildopts [" "options" "]"
 
-List of options that are passed on to dpkg-buildpackage. Overrides
+Options that are passed on to dpkg-buildpackage. Overrides
 any value given in DEBBUILDOPTS as specified in
 pbuilderrc.
 
-Multiple options are delimited with spaces.
+Multiple options can be passed by inserting
+.B \-\-debbuildopts
+in front of each
+option. For example, to use the two options
+.B \-S
+and
+.B \-sa
+use
+.B \-\-debbuildopts
+like this.
+
+.B \-\-debbuildopts \-S \-\-debbuildopts \-sa
 
 .TP
 .BI "\-\-logfile [" "file to log" "]"
--- pdebuild.1.bak	2007-06-19 12:56:23.000000000 -0400
+++ pdebuild.1	2007-06-19 13:29:19.000000000 -0400
@@ -74,11 +74,21 @@
 .TP
 .BI "\-\-debbuildopts [" "options to pass to dpkg-buildpackage" "]"
 
-The space-delimited list of options are passed to dpkg-buildpackage.
-This option overrides pbuilder option 
+Options are passed to dpkg-buildpackage. This option overrides pbuilder option 
 .B "\-\-debbuildopts"
 
-Multiple options are delimited with spaces.
+Multiple options can be passed by inserting
+.B \-\-debbuildopts
+in front of each
+option. For example, to use the two options
+.B \-S
+and
+.B \-sa
+use
+.B \-\-debbuildopts
+like this.
+
+.B \-\-debbuildopts \-S \-\-debbuildopts \-sa
 
 Note that for pdebuild, debbuildopts needs to be specified as a pdebuild
 option in the command-line, not as a pbuilder option.

Reply via email to