diff --git a/docs/doxygen/scripts/sip_tools.py b/docs/doxygen/scripts/sip_tools.py index a187e81731..f48d875765 100644 --- a/docs/doxygen/scripts/sip_tools.py +++ b/docs/doxygen/scripts/sip_tools.py @@ -18,7 +18,7 @@ class SIPBuilder: continue header_name = aclass.name[2:].lower() - filename = os.path.join(output_dir, header_name + ".sip") + filename = os.path.join(output_dir, "_" + header_name + ".sip") enums_text = make_enums(aclass) method_text = self.make_sip_methods(aclass) base_class = get_first_value(aclass.bases) diff --git a/docs/doxygen/scripts/swig_tools.py b/docs/doxygen/scripts/swig_tools.py index 3e2ee21469..2a3e6e3fc6 100644 --- a/docs/doxygen/scripts/swig_tools.py +++ b/docs/doxygen/scripts/swig_tools.py @@ -18,7 +18,7 @@ class SWIGBuilder: #print "Skipping %s" % aclass.name continue - filename = os.path.join(output_dir, header_name + ".i") + filename = os.path.join(output_dir, "_" + header_name + ".i") enums_text = make_enums(aclass) method_text = self.make_swig_methods(aclass) text = """