Skip to content

Commit

Permalink
doc: build doc only if doxygen is available
Browse files Browse the repository at this point in the history
Skip building docs if doxygen is not present.

Signed-off-by: Aakash Sasidharan <[email protected]>
Change-Id: I4b582e1220064f12fcfe1212c75dd4d63ef845c3
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/dataplane/dpu-offload/+/143751
Tested-by: sa_ip-toolkits-Jenkins <[email protected]>
Reviewed-by: Jerin Jacob <[email protected]>
  • Loading branch information
asasidharan authored and jerinjacobk committed Jan 22, 2025
1 parent df6f906 commit 747e81c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ if host_machine.cpu_family() == 'aarch64'
endif
endif

subdir('doc')
doxygen = find_program('doxygen', required: false)
if doxygen.found()
subdir('doc')
else
warning('Doxygen not found. Skipping the documentation build!')
endif

if get_option('enable_kmods')
subdir('kmod')
endif
Expand Down

0 comments on commit 747e81c

Please sign in to comment.