From 3c63a83e3dd03846f4d7ade18af6d5992e0141d8 Mon Sep 17 00:00:00 2001 From: guijiyang Date: Tue, 7 Mar 2023 12:05:06 +0800 Subject: fix the error of 'xmake doxygen': add parameter 'doxygen' to function '_generate_doxyfile' --- xmake/plugins/doxygen/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmake/plugins/doxygen/main.lua b/xmake/plugins/doxygen/main.lua index 478613948..9ebaac8f3 100644 --- a/xmake/plugins/doxygen/main.lua +++ b/xmake/plugins/doxygen/main.lua @@ -27,7 +27,7 @@ import("private.action.require.impl.packagenv") import("private.action.require.impl.install_packages") -- generate doxyfile -function _generate_doxyfile() +function _generate_doxyfile(doxygen) -- generate the default doxyfile local doxyfile = path.join(project.directory(), "doxyfile") @@ -98,7 +98,7 @@ function main() -- get doxyfile first local doxyfile = "doxyfile" if not os.isfile(doxyfile) then - doxyfile = _generate_doxyfile() + doxyfile = _generate_doxyfile(doxygen) end assert(os.isfile(doxyfile), "%s not found!", doxyfile) -- cgit v1.3.1