From ab6d91f1a3d16161fda5c36864619c26f47e5a2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 29 Jan 2018 13:45:41 +0100 Subject: [PATCH] doxygen: solve all problems of mankind by making paths absolute. --- doxygen/dox2html5.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index 20b8cf56..fee4c88b 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -2117,7 +2117,10 @@ if __name__ == '__main__': # pragma: no cover else: logging.basicConfig(level=logging.INFO) + # Make the Doxyfile path absolute, otherwise everything gets messed up + doxyfile = os.path.abspath(args.doxyfile) + if not args.no_doxygen: - subprocess.run(["doxygen", args.doxyfile], cwd=os.path.dirname(args.doxyfile)) + subprocess.run(["doxygen", doxyfile], cwd=os.path.dirname(doxyfile)) - run(args.doxyfile, args.templates, args.wildcard, args.index_pages) + run(doxyfile, os.path.abspath(args.templates), args.wildcard, args.index_pages) -- 2.30.2