X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FDoxygen.py;h=f379f91effd8164468080ed563895acd6fdcb5af;hb=0fff17bd2bcdbb1e91e216bf6e1bebc414713548;hp=db9fc5cad990ffb12dfff2561d176dc3b51ecbb9;hpb=7ba726675dc49ae8e3e67455bd346c589236be68;p=senf.git diff --git a/senfscons/Doxygen.py b/senfscons/Doxygen.py index db9fc5c..f379f91 100644 --- a/senfscons/Doxygen.py +++ b/senfscons/Doxygen.py @@ -127,9 +127,9 @@ def DoxySourceScan(node, env, path): for root, dirs, files in entries: for f in files: filename = os.path.normpath(os.path.join(root, f)) - if ( reduce(lambda x, y: x or fnmatch(filename, y), + if ( reduce(lambda x, y: x or fnmatch(f, y), file_patterns, False) - and not reduce(lambda x, y: x or fnmatch(filename, y), + and not reduce(lambda x, y: x or fnmatch(f, y), exclude_patterns, False) ): sources.append(filename) @@ -187,7 +187,7 @@ def doxyNodeHtmlDir(node): if not node.sources : return None data = DoxyfileParse(node.sources[0].abspath) if data.get("GENERATE_HTML",'YES').upper() != 'YES' : return None - return os.path.normpath(os.path.join( node.sources[0].abspath, + return os.path.normpath(os.path.join( node.sources[0].dir.abspath, data.get("OUTPUT_DIRECTORY","."), data.get("HTML_OUTPUT","html") ))