X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FDoxygen.py;h=e5b7b79d2f153b09551c5ef5f6837aec74804af0;hb=05fab45b5f96c457d3c6b359f66ce1506c6ad510;hp=0e8dd2435f3c7750c2fc630015f243191f71c0af;hpb=9035ae419b1dc9dc537e00d0f7ffc4b22e19422a;p=senf.git diff --git a/senfscons/Doxygen.py b/senfscons/Doxygen.py index 0e8dd24..e5b7b79 100644 --- a/senfscons/Doxygen.py +++ b/senfscons/Doxygen.py @@ -248,6 +248,10 @@ class DoxyfileParser: return self._items def DoxyfileParse(env,file): + # We don't parse source files which do not contain the word 'doxyfile'. SCons will + # pass other dependencies to DoxyfileParse which are not doxyfiles ... grmpf ... + if not 'doxyfile' in file.lower(): + return {} ENV = {} ENV.update(env.get("ENV",{})) ENV['TOPDIR'] = env.Dir('#').abspath