From d28d19eae7b42c01dfaf4974b71753f9eb0ce569 Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Tue, 3 Oct 2023 20:23:11 +0300 Subject: [PATCH] [#2750] limit ascii uml only to sequence diagrams --- doc/sphinx/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/sphinx/Makefile.am b/doc/sphinx/Makefile.am index 967b32bc26..1cba905c01 100644 --- a/doc/sphinx/Makefile.am +++ b/doc/sphinx/Makefile.am @@ -166,9 +166,10 @@ else @ printf 'WARNING: xmllint not found. SVGs not formatted.\n' endif -uml-to-txt: $(umls) +# Only sequence diagrams support ASCII art. +uml-to-txt: uml/tkey.uml uml/update.uml @ @PLANTUML@ -ttxt $^ - for txt in $(txts); do sed 's/ *$$//g' $$txt > tmp; mv tmp $$txt; done + @ for txt in $(txts); do sed 's/ *$$//g' $$txt > tmp; mv tmp $$txt; done endif EXTRA_DIST += $(umls)