From 8e0f4cc76ebf3e68cc9b29ad4ecc0dd460f7abfa Mon Sep 17 00:00:00 2001 From: Zephyr Lykos Date: Sun, 15 Sep 2024 22:29:36 +0800 Subject: [PATCH] doc: reuse Doxyfile for meson --- Doxyfile.meson.in | 14 +------------- meson.build | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/Doxyfile.meson.in b/Doxyfile.meson.in index 4f5203b2..c4d31365 100644 --- a/Doxyfile.meson.in +++ b/Doxyfile.meson.in @@ -1,26 +1,14 @@ -PROJECT_NAME = Zydis +@INCLUDE = "@TOP_SRCDIR@/Doxyfile" PROJECT_NUMBER = @VERSION@ PROJECT_BRIEF = "Zyan Disassembler Library" OUTPUT_DIRECTORY = "@TOP_BUILDDIR@/doc" STRIP_FROM_PATH = "@TOP_SRCDIR@" STRIP_FROM_INC_PATH = "@ZYCORE_INCLUDE_PATH@" -JAVADOC_AUTOBRIEF = YES -QT_AUTOBRIEF = YES -OPTIMIZE_OUTPUT_FOR_C = YES -TOC_INCLUDE_HEADINGS = 0 -EXTRACT_ALL = YES -EXTRACT_LOCAL_CLASSES = NO -HIDE_SCOPE_NAMES = YES INPUT = "@TOP_SRCDIR@/include" \ "@TOP_SRCDIR@/README.md" \ "@TOP_SRCDIR@/files.dox" -RECURSIVE = YES EXAMPLE_PATH = "@TOP_SRCDIR@/examples" USE_MDFILE_AS_MAINPAGE = "@TOP_SRCDIR@/README.md" -GENERATE_TREEVIEW = YES -USE_MATHJAX = YES -MATHJAX_VERSION = MathJax_3 -GENERATE_LATEX = NO MACRO_EXPANSION = YES EXPAND_ONLY_PREDEF = YES INCLUDE_PATH = "@ZYCORE_INCLUDE_PATH@" diff --git a/meson.build b/meson.build index 78fd92f8..76bf1af3 100644 --- a/meson.build +++ b/meson.build @@ -296,7 +296,7 @@ if doc_req input: doxyfile, output: 'doc', command: [doxygen_exe, doxyfile], - depend_files: [hdrs], + depend_files: [hdrs, files('Doxyfile')], install: true, install_dir: datadir / 'doc' / 'Zydis', )