From 808659119725eff29497bcd8cff4c71f8f5d3927 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Mon, 2 Oct 2023 20:02:51 -0500 Subject: [PATCH] All non-html formats have the same epilog --- doc/include/macros.m4 | 2 +- make_files/make_docs.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/include/macros.m4 b/doc/include/macros.m4 index 6363707..cd90238 100644 --- a/doc/include/macros.m4 +++ b/doc/include/macros.m4 @@ -54,7 +54,7 @@ dnl dnl Conditional for testing html output define(`sdb_if_htmlout', - `ifelse(sdb_output_fmt, latex, $2, $1)') + `ifelse(sdb_output_fmt, not_html, $2, $1)') dnl Use a macro to transform image paths since this is "easier". diff --git a/make_files/make_docs.mk b/make_files/make_docs.mk index 3f872e8..a1648ed 100644 --- a/make_files/make_docs.mk +++ b/make_files/make_docs.mk @@ -406,7 +406,7 @@ $(HTML_EPILOG): $(SOURCE_EPILOG) $(DOC_DEPENDS) > $@ $(LATEX_EPILOG): $(SOURCE_EPILOG) $(DOC_DEPENDS) m4 $(M4_DOC_INCLUDE_ARGS) \ - --define=sdb_output_fmt=latex \ + --define=sdb_output_fmt=not_html \ $< \ > $@ -- 2.34.1