Skip to content

Commit

Permalink
Strict rule of installing scripts
Browse files Browse the repository at this point in the history
Fix the part of jsk-ros-pkg#1488
  • Loading branch information
wkentaro committed Nov 26, 2016
1 parent 82e3dd7 commit 67c32f5
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions jsk_data/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,29 @@ catkin_package(
CATKIN_DEPENDS message_runtime
)

catkin_install_python(PROGRAMS scripts/jsk_data DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
install(DIRECTORY launch rvizconfig scripts
catkin_install_python(PROGRAMS
scripts/jsk_data
scripts/robot_description_loader.py
scripts/robot_description_saver.py
scripts/rosbag_always.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(PROGRAMS
scripts/copy-pr2-bagfiles
scripts/decompress
scripts/gen-gif-all
scripts/gopro-copy-files.sh
scripts/hrp2_rosbag_always.sh
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES amd64* OR
${CMAKE_SYSTEM_PROCESSOR} MATCHES x86_64*)
install(PROGRAMS
scripts/drive-linux-x64
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
endif()
install(DIRECTORY launch rvizconfig
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
)
Expand Down

0 comments on commit 67c32f5

Please sign in to comment.