From 83f255790a618e3fde3216a0576e138653335ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Thu, 8 Sep 2016 08:36:01 +0000 Subject: [PATCH] plantuml now also works for old doxygen versions --- scripts/ax_init_standard_project.m4 | 6 +++++- scripts/bootstrap.sh | 9 +-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/scripts/ax_init_standard_project.m4 b/scripts/ax_init_standard_project.m4 index 4755401..e1a5879 100644 --- a/scripts/ax_init_standard_project.m4 +++ b/scripts/ax_init_standard_project.m4 @@ -573,7 +573,11 @@ AC_DEFUN([AX_USE_DOXYGEN], [ AX_ADD_MAKEFILE_TARGET_DEP([.PHONY], [pdf gen-uml-images], [doc/makefile.in]) test -f doc/makefile.in && cat >> doc/makefile.in <@AUTHOR_NAME@"' - # hack plantuml for doxygen < 1.8.11 - if test "1.8.11" = $((echo "1.8.11"; doxygen -v) | sort -V | head -1); then - doxyreplace PLANTUML_JAR_PATH '"@top_srcdir@/doc/plantuml.jar"' - else - doxyadd ALIASES '"startuml{1}=@image html \\1\\n@image latex \\1\\n\\if DontIgnorePlantUMLCode"' - doxyadd ALIASES '"enduml=\\endif"' - doxyadd IMAGE_PATH '"gen-uml-images"' - fi + doxyreplace PLANTUML_JAR_PATH '"@top_srcdir@/doc/plantuml.jar"' doxyreplace ENABLE_PREPROCESSING YES doxyreplace MACRO_EXPANSION YES doxyadd PREDEFINED '"NAMESPACE=@PACKAGE_NAME@"'