mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Small tweaks for doc generation.
- There is still a bug in that scripts loaded by core scripts don't get their path correctly figured out by Bro's documentation generation.
This commit is contained in:
parent
048369fbeb
commit
d223637460
2 changed files with 3 additions and 8 deletions
|
@ -84,7 +84,7 @@ macro(REST_TARGET srcDir broInput)
|
||||||
elseif (${extension} STREQUAL ".bif.bro")
|
elseif (${extension} STREQUAL ".bif.bro")
|
||||||
set(group bifs)
|
set(group bifs)
|
||||||
elseif (relDstDir)
|
elseif (relDstDir)
|
||||||
set(pkgIndex policy/${relDstDir}/index)
|
set(pkgIndex scripts/${relDstDir}/index)
|
||||||
set(group ${pkgIndex})
|
set(group ${pkgIndex})
|
||||||
# add package index to master package list if not already in it
|
# add package index to master package list if not already in it
|
||||||
list(FIND MASTER_PKG_LIST ${pkgIndex} _found)
|
list(FIND MASTER_PKG_LIST ${pkgIndex} _found)
|
||||||
|
@ -220,10 +220,10 @@ add_custom_target(doc
|
||||||
# working copy of the template documentation
|
# working copy of the template documentation
|
||||||
COMMAND "${CMAKE_COMMAND}" -E copy_directory
|
COMMAND "${CMAKE_COMMAND}" -E copy_directory
|
||||||
${RST_OUTPUT_DIR}
|
${RST_OUTPUT_DIR}
|
||||||
${DOC_SOURCE_WORKDIR}/policy
|
${DOC_SOURCE_WORKDIR}/scripts
|
||||||
# append to the master index of all policy scripts
|
# append to the master index of all policy scripts
|
||||||
COMMAND cat ${MASTER_POLICY_INDEX} >>
|
COMMAND cat ${MASTER_POLICY_INDEX} >>
|
||||||
${DOC_SOURCE_WORKDIR}/policy/index.rst
|
${DOC_SOURCE_WORKDIR}/scripts/index.rst
|
||||||
# append to the master index of all policy packages
|
# append to the master index of all policy packages
|
||||||
COMMAND cat ${MASTER_PACKAGE_INDEX} >>
|
COMMAND cat ${MASTER_PACKAGE_INDEX} >>
|
||||||
${DOC_SOURCE_WORKDIR}/packages.rst
|
${DOC_SOURCE_WORKDIR}/packages.rst
|
||||||
|
|
|
@ -72,11 +72,6 @@ rest_target(${psd} base/protocols/http/partial-content.bro)
|
||||||
rest_target(${psd} base/protocols/http/utils.bro)
|
rest_target(${psd} base/protocols/http/utils.bro)
|
||||||
rest_target(${psd} base/protocols/irc/dcc-send.bro)
|
rest_target(${psd} base/protocols/irc/dcc-send.bro)
|
||||||
rest_target(${psd} base/protocols/irc/main.bro)
|
rest_target(${psd} base/protocols/irc/main.bro)
|
||||||
rest_target(${psd} base/protocols/mime/base.bro)
|
|
||||||
rest_target(${psd} base/protocols/mime/file-extract.bro)
|
|
||||||
rest_target(${psd} base/protocols/mime/file-hash.bro)
|
|
||||||
rest_target(${psd} base/protocols/mime/file-ident.bro)
|
|
||||||
rest_target(${psd} base/protocols/rpc/base.bro)
|
|
||||||
rest_target(${psd} base/protocols/smtp/main.bro)
|
rest_target(${psd} base/protocols/smtp/main.bro)
|
||||||
rest_target(${psd} base/protocols/ssh/main.bro)
|
rest_target(${psd} base/protocols/ssh/main.bro)
|
||||||
rest_target(${psd} base/protocols/ssl/consts.bro)
|
rest_target(${psd} base/protocols/ssl/consts.bro)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue