2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 04:57:52 +00:00
kea/doc/sphinx/make-mes-doc.sh.in
2025-03-13 18:03:37 +01:00

19 lines
407 B
Bash
Executable File

#!/bin/sh
set -eu
cd '@TOP_SOURCE_DIR@'
# api-files.txt
find src/share/api -type f -name '[a-z]*.json' | sort -V > "@srcdir@/api-files.txt"
# mes-files.txt
find . -type f -name '*.mes' | sort -V | sed 's#^./##g' > "@srcdir@/mes-files.txt"
# debug-messages.rst
@PYTHON@ ./tools/check-messages.py --generate-debug-messages-page
# kea-messages.rst
cd '@srcdir@'
@PYTHON@ ./mes2doc.py -o kea-messages.rst