diff options
author | Sage Weil <sage@newdream.net> | 2021-03-31 20:44:23 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2021-03-31 20:58:16 +0200 |
commit | 144bf1a73cbb81ae69b6d47f4449af4ce7c35eb3 (patch) | |
tree | b83368d90244f05241d8f5bedf4f09216e5dd725 /admin | |
parent | doc/releases/releases.yaml: add 16.2.0 (diff) | |
download | ceph-144bf1a73cbb81ae69b6d47f4449af4ce7c35eb3.tar.xz ceph-144bf1a73cbb81ae69b6d47f4449af4ce7c35eb3.zip |
admin/build-doc: do not rebuild venv every time
Downside is you have to delete and re-run if the deps change. The venv
install is suuuuper slow for me, though, so this is a win.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'admin')
-rwxr-xr-x | admin/build-doc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/build-doc b/admin/build-doc index fd63db4daa7..6738fc8f64f 100755 --- a/admin/build-doc +++ b/admin/build-doc @@ -52,13 +52,13 @@ set -e if [ ! -e $vdir ]; then virtualenv --python=python3 $vdir -fi -$vdir/bin/pip install --quiet \ + $vdir/bin/pip install --quiet \ -r $TOPDIR/admin/doc-requirements.txt \ -r $TOPDIR/admin/doc-python-common-requirements.txt -BUILD_DOC=1 $vdir/bin/pip install --quiet \ + BUILD_DOC=1 $vdir/bin/pip install --quiet \ -r $TOPDIR/admin/doc-pybind.txt +fi install -d -m0755 \ $TOPDIR/build-doc/output/html \ |