]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: do not rerun generate_rook_ceph_client.sh everytime 33907/head
authorKefu Chai <kchai@redhat.com>
Thu, 12 Mar 2020 07:58:28 +0000 (15:58 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 12 Mar 2020 08:00:40 +0000 (16:00 +0800)
no need to rerun this script everytime when building ceph-mgr or the
default build target.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/rook/CMakeLists.txt

index 0ef7081d90c2d31e001a44a6300ad123b22913fc..15ba4c149385555cde8f8b8fc3981055fe7aa0e1 100644 (file)
@@ -1,12 +1,10 @@
 add_custom_command(
   OUTPUT rook_client/__init__.py
   COMMAND ./generate_rook_ceph_client.sh
-  DEPENDS rook_cluster.py
   COMMENT "generating mgr/rook/rook_client"
   WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/src/pybind/mgr/rook")
 
 add_custom_target(mgr-rook-client
-  ALL
   DEPENDS rook_client/__init__.py
   WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/src/pybind/mgr/rook"
 )