diff options
| author | guijiyang <[email protected]> | 2023-03-07 12:05:06 +0800 |
|---|---|---|
| committer | guijiyang <[email protected]> | 2023-03-07 13:06:47 +0800 |
| commit | 3c63a83e3dd03846f4d7ade18af6d5992e0141d8 (patch) | |
| tree | 784865a6c999c36e81e9583cadb28bb99ebe89a3 | |
| parent | 84e7c19365b5a8a1aa48682eb14759e81dc519d9 (diff) | |
fix the error of 'xmake doxygen': add parameter 'doxygen' to function '_generate_doxyfile'
| -rw-r--r-- | xmake/plugins/doxygen/main.lua | 4 |
1 files 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) |
