summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2020-12-12 09:49:14 +0100
committerKefu Chai <kchai@redhat.com>2020-12-12 09:49:21 +0100
commit140f6c5c287fde804d18ba4a9c1f0bb204c94324 (patch)
tree9a9a328f90aa0e52c948638d4d86cb1d7a06c0bc /admin
parentadmin/build-doc: revert "upgrade pip setuptools first" (diff)
downloadceph-140f6c5c287fde804d18ba4a9c1f0bb204c94324.tar.xz
ceph-140f6c5c287fde804d18ba4a9c1f0bb204c94324.zip
admin/build-doc: drop comments for building dummy C bindings
we don't build dummy C bindings since 2235c2db0ecc7a8fbe165aba2ea8aaf8189d349c Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/build-doc7
1 files changed, 1 insertions, 6 deletions
diff --git a/admin/build-doc b/admin/build-doc
index ef58aa40ee9..3fdca1a4488 100755
--- a/admin/build-doc
+++ b/admin/build-doc
@@ -64,14 +64,9 @@ install -d -m0755 \
$TOPDIR/build-doc/output/html \
$TOPDIR/build-doc/output/man
-# To avoid having to build librbd to build the Python bindings to build the docs,
-# create a dummy librbd.so that allows the module to be imported by sphinx.
-# the module are imported by the "automodule::" directive.
-mkdir -p $vdir/lib
-export LD_LIBRARY_PATH="$vdir/lib"
+# required by script/gen_static_command_descriptions.py, which imports ceph_argparse
export PYTHONPATH=$TOPDIR/src/pybind
-
$vdir/bin/python $TOPDIR/doc/scripts/gen_mon_command_api.py > $TOPDIR/doc/api/mon_command_api.rst
for opt in "$@"; do