]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
admin/build-doc: drop comments for building dummy C bindings 38554/head
authorKefu Chai <kchai@redhat.com>
Sat, 12 Dec 2020 08:49:14 +0000 (16:49 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 12 Dec 2020 08:49:21 +0000 (16:49 +0800)
we don't build dummy C bindings since
2235c2db0ecc7a8fbe165aba2ea8aaf8189d349c

Signed-off-by: Kefu Chai <kchai@redhat.com>
admin/build-doc

index ef58aa40ee906af8decafe097910ac7575abd682..3fdca1a4488af6213f9df331d232b43f93b75a46 100755 (executable)
@@ -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