From 268673dcc219485e6caf79085dbd3d63cd73dae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 6 Nov 2012 01:22:46 +0000 Subject: [PATCH] add a default to doxyassist_xml --- Documentation/html_output_post_processing.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/html_output_post_processing.py b/Documentation/html_output_post_processing.py index 6a49fb72c37..617f5e0b6e4 100755 --- a/Documentation/html_output_post_processing.py +++ b/Documentation/html_output_post_processing.py @@ -192,7 +192,12 @@ removes some unneeded files, and performs minor repair on some glitches.''') #if doxyassist.xml was provided, copy figures if args.doxyassist_xml: copy_all_non_pdf_figures(args.doxyassist_xml,args.output) - + else: + #try to guess a default + guess=path.join(path.dirname(path.abspath(argv[0])),"doxyassist.xml") + if path.exists(guess): + copy_all_non_pdf_figures(guess,args.output) + resources_absdir=path.join( path.dirname(path.abspath(argv[0]) ),"resources") os.chdir(args.output)