summaryrefslogtreecommitdiff
path: root/docs/man
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2022-05-25 15:08:30 +0300
committerFlorian Festi <ffesti@redhat.com>2022-05-25 15:51:36 +0200
commitb34333fa021c0ee7215714eeef96d1a2843ea08e (patch)
tree1f5013ff683bc709ddb5ec7d5b850b304ad77f93 /docs/man
parent6f9cc382562836e8ba0ce7a41297fa0de326d4ec (diff)
downloadrpm-b34333fa021c0ee7215714eeef96d1a2843ea08e.tar.gz
Remove build tree automatically on successfull binary package creation
Traditionally rpmbuild has only cleaned up the build directory on --rebuild mode, but by default leaving tonnes of digital waste behind in the far more common -bb mode. Default to cleaning up build directory in addition to buildroot on successfull binary package creation, with the exception of short-circuit'ed builds. To go with this, have --noclean affect the build directory removal too. Change the diagnostics message from "--clean" to "rmbuild" because --clean is just misleading as it can get executed by other means too.
Diffstat (limited to 'docs/man')
-rw-r--r--docs/man/rpmbuild.8.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/man/rpmbuild.8.md b/docs/man/rpmbuild.8.md
index 947ca25fc..4b2701429 100644
--- a/docs/man/rpmbuild.8.md
+++ b/docs/man/rpmbuild.8.md
@@ -155,6 +155,7 @@ all the stages preceding it), and is one of:
: Build just the binary packages - executes up to and including the
assembly stage, but without creating the source package.
+ On success, the build directory is removed (as in **\--clean**).
**-bp**