X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FDoxygen.py;h=ea765c4026b3d98f712d3edfadaae9eb62e44d0b;hb=85ab07d100a382467a42e19d741d403a7a96c951;hp=1d51a695208cac9f3ab33e6f9bacc7498dde7516;hpb=3e42ecb22121f2e6df86b27bea73f890384a4ee4;p=senf.git diff --git a/senfscons/Doxygen.py b/senfscons/Doxygen.py index 1d51a69..ea765c4 100644 --- a/senfscons/Doxygen.py +++ b/senfscons/Doxygen.py @@ -182,7 +182,7 @@ def DoxySourceScan(node, env, path): dep_add_keys = ( '@INCLUDE', 'HTML_HEADER', 'HTML_FOOTER', 'TAGFILES', 'INPUT_FILTER' ) - + default_file_patterns = ( '*.c', '*.cc', '*.cxx', '*.cpp', '*.c++', '*.java', '*.ii', '*.ixx', '*.ipp', '*.i++', '*.inl', '*.h', '*.hh ', '*.hxx', '*.hpp', '*.h++', @@ -212,7 +212,7 @@ def DoxySourceScan(node, env, path): for f in files: filename = os.path.normpath(os.path.join(root, f)) if ( reduce(lambda x, y: x or fnmatch(f, y), - file_patterns, False) + file_patterns, False) and not reduce(lambda x, y: x or fnmatch(f, y), exclude_patterns, False) ): sources.append(filename) @@ -316,7 +316,7 @@ def DoxyGenerator(source, target, env, for_signature): # If for any referenced tagfile no url can be found, 'installdox' # will *not* be called and a warning about the missing url is # generated. - + if data.get('GENERATE_HTML','YES').upper() == "YES": output_dir = os.path.normpath(os.path.join( source[0].dir.abspath, data.get("OUTPUT_DIRECTORY","."), @@ -336,7 +336,7 @@ def DoxyGenerator(source, target, env, for_signature): args.append("-l %s@%s" % ( os.path.basename(tagfile), url )) if args: actions.append(env.Action('cd %s && ./installdox %s' % (output_dir, " ".join(args)))) - + actions.append(env.Action([ "touch $TARGETS" ])) return actions