Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Add rmw_fastrtps doc_gen Makefile #22

Merged
merged 2 commits into from
Apr 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ default: setup $(release_name) \
api/rosidl_runtime_c \
api/rosidl_runtime_cpp \
api/rmw \
api/rmw_fastrtps_cpp \
api/rmw_fastrtps_dynamic_cpp \
api/rmw_fastrtps_shared_cpp \
api/tf2 \
api/tf2_bullet \
api/tf2_eigen \
Expand Down Expand Up @@ -110,6 +113,21 @@ api/rosidl_runtime_cpp: src/ros2/rosidl/rosidl_runtime_cpp/doc_output/html
test -d api || mkdir api
cp -r $< $@

api/rmw_fastrtps_cpp: src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/doc_output/html
rm -r $@ || true
test -d api || mkdir api
cp -r $< $@

api/rmw_fastrtps_dynamic_cpp: src/ros2/rmw_fastrtps/rmw_fastrtps_dynamic_cpp/doc_output/html
rm -r $@ || true
test -d api || mkdir api
cp -r $< $@

api/rmw_fastrtps_shared_cpp: src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/doc_output/html
rm -r $@ || true
test -d api || mkdir api
cp -r $< $@

api/tf2: src/ros2/geometry2/tf2/doc_output/html
rm -r $@ || true
test -d api || mkdir api
Expand Down Expand Up @@ -255,6 +273,33 @@ src/ros2/rclpy/rclpy/docs/build/html:
git clean -dfx && \
make html

src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/doc_output/html:
. install/setup.sh && \
cd src/ros2/rmw_fastrtps/rmw_fastrtps_cpp && \
git clean -dfx && \
cmake . && make -j 8
rm -r $@ || true
rm doxygen_tag_files/rmw_fastrtps_cpp.tag || true
cd src/ros2/rmw_fastrtps/rmw_fastrtps_cpp && doxygen Doxyfile

src/ros2/rmw_fastrtps/rmw_fastrtps_dynamic_cpp/doc_output/html:
. install/setup.sh && \
cd src/ros2/rmw_fastrtps/rmw_fastrtps_dynamic_cpp && \
git clean -dfx && \
cmake . && make -j 8
rm -r $@ || true
rm doxygen_tag_files/rmw_fastrtps_dynamic_cpp.tag || true
cd src/ros2/rmw_fastrtps/rmw_fastrtps_dynamic_cpp && doxygen Doxyfile

src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/doc_output/html:
. install/setup.sh && \
cd src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp && \
git clean -dfx && \
cmake . && make -j 8
rm -r $@ || true
rm doxygen_tag_files/rmw_fastrtps_shared_cpp.tag || true
cd src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp && doxygen Doxyfile

src/ros2/rosidl/rosidl_runtime_c/doc_output/html:
. install/setup.sh && \
cd src/ros2/rosidl/rosidl_runtime_c && \
Expand Down