mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[#3730] Add other meson targets
- add-changelog-entry - coverage (.lcovrc) - cppcheck, cppcheck-report - doc (renamed from docs) - grammar - mes-doc - uml - update-python-dependencies - valgrind (add_test_setup instead of custom target)
This commit is contained in:
26
doc/sphinx/make-uml.sh.in
Executable file
26
doc/sphinx/make-uml.sh.in
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -euv
|
||||
|
||||
cd @srcdir@
|
||||
|
||||
if test "@HAVE_PLANTUML@" != "no" ; then
|
||||
# uml-to-png
|
||||
# shellcheck disable=SC2043
|
||||
for uml in @umls@; do @PLANTUML@ -tpng "$uml"; done
|
||||
# uml-to-svg
|
||||
# shellcheck disable=SC2043
|
||||
for uml in @umls@; do @PLANTUML@ -tsvg "$uml"; done
|
||||
# format-svgs
|
||||
if test "@HAVE_XMLLINT" != "no" ; then
|
||||
# shellcheck disable=SC2043
|
||||
for svg in @svgs@; do xmllint --format "$svg" > tmp; mv tmp "$svg"; done
|
||||
else
|
||||
printf 'WARNING: xmllint not found. SVGs not formatted.\n'
|
||||
fi
|
||||
# uml-to-txt
|
||||
# shellcheck disable=SC2043
|
||||
for uml in @tumls@; do @PLANTUML@ -ttxt "$uml"; done
|
||||
# shellcheck disable=SC2043
|
||||
for txt in @txts@; do sed 's/ *$//g' "$txt" > tmp; mv tmp "$txt"; done
|
||||
fi
|
Reference in New Issue
Block a user