File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,12 @@ Commands I am using for building the RPM:
61
61
make clean && make
62
62
## Other build options
63
63
64
+ ### `` -DBUILD_DOC_C=OFF ``
65
+
66
+ Build C API documentation (Default: ON)
67
+
68
+ Disable building of C API documentation, which requires doxygen to be present.
69
+
64
70
### `` -DENABLE_LEGACY_WEAKDEPS=ON ``
65
71
66
72
Enable legacy SUSE/Mageia/Mandriva weakdeps support (Default: ON)
Original file line number Diff line number Diff line change @@ -3,14 +3,15 @@ ADD_SUBDIRECTORY (python)
3
3
ADD_CUSTOM_TARGET (doc )
4
4
ADD_DEPENDENCIES (doc doc -python)
5
5
6
- find_package (Doxygen)
7
- if (DOXYGEN_FOUND)
6
+ option (BUILD_DOC_C "Build C API documentation" ON )
7
+ if (BUILD_DOC_C)
8
+ find_package (Doxygen REQUIRED)
8
9
CONFIGURE_FILE ("Doxyfile.in.in" "${CMAKE_CURRENT_BINARY_DIR} /Doxyfile.in" @ONLY)
9
10
add_custom_target (doc -c
10
11
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR} /Doxyfile.in
11
12
COMMENT "Building C API documentation with Doxygen" VERBATIM )
12
13
ADD_DEPENDENCIES (doc doc -c)
13
- endif (DOXYGEN_FOUND )
14
+ endif (BUILD_DOC_C )
14
15
15
16
IF (CREATEREPO_C_INSTALL_MANPAGES)
16
17
INSTALL (FILES createrepo_c.8 mergerepo_c.8 modifyrepo_c.8 sqliterepo_c.8
You can’t perform that action at this time.
0 commit comments