Skip to content

Commit

Permalink
admin/build-doc: drop comments for building dummy C bindings
Browse files Browse the repository at this point in the history
we don't build dummy C bindings since
2235c2d

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Dec 12, 2020
1 parent 703ba9e commit 140f6c5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions admin/build-doc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 140f6c5

Please sign in to comment.