diff options
author | Todd Zullinger <tmz@pobox.com> | 2007-12-04 15:38:24 -0500 |
---|---|---|
committer | Michael E Brown <michael_e_brown@dell.com> | 2007-12-04 17:28:01 -0600 |
commit | 339fada0f033950b7165fbd98efdf9323f37f6be (patch) | |
tree | 785c473d5341f5d3feb7172da4352ccf24429c8c /docs | |
parent | 2679d3cae92a1178b586fc1c07b1fbfcac88972a (diff) | |
download | mock-339fada0f033950b7165fbd98efdf9323f37f6be.tar.gz mock-339fada0f033950b7165fbd98efdf9323f37f6be.tar.xz mock-339fada0f033950b7165fbd98efdf9323f37f6be.zip |
add --with and --without options to enable/disable options in a srpm
Signed-off-by: Michael E Brown <michael_e_brown@dell.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/mock.1 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/mock.1 b/docs/mock.1 index 17b5081..28c2629 100644 --- a/docs/mock.1 +++ b/docs/mock.1 @@ -59,7 +59,17 @@ Specify target build arch. \fB\-\-define=\fR"\fIMACRO EXPR\fP" Specify macro definitions used for the build. This option may be used multiple times, just as the rpmbuild \-\-define option can be. For example: -\fB\-\-define="with_extra_cheese 1" \-\-define="packager Monkey"\fR +\fB\-\-define "with_extra_cheese 1" \-\-define="packager Monkey"\fR +.TP +\fB\-\-with=\fR\fIOPTION\fP +Enable configure OPTION for build. This option may be used multiple times. For example: + +\fB\-\-with extra_cheese\fR +.TP +\fB\-\-without=\fR\fIOPTION\fP +Disable configure OPTION for build. This option may be used multiple times. For example: + +\fB\-\-without anchovies\fR .TP \fB\-\-resultdir=\fR\fIRESULTDIR\fP Change directory where resulting files (RPMs and build logs) are written. Resultdir can contain python-string substitutions for any variable in the chroot config. For example: |