def METHOD_NAME(source, target, env):
   """Doxygen Doxyfile emitter"""
   # possible output formats and their default values and output locations
   output_formats = {
      "HTML": ("YES", "html"),
      "LATEX": ("YES", "latex"),
      "RTF": ("NO", "rtf"),
      "MAN": ("NO", "man"),
      "XML": ("NO", "xml"),
   }
   with open(source[0].abspath) as contents:
      data = DoxyfileParse(contents)
   targets = []
   out_dir = source[0].Dir(data.get("OUTPUT_DIRECTORY", "."))
   # add our output locations
   for (k, v) in list(output_formats.items()):
      if data.get("GENERATE_" + k, v[0]) == "YES":
         targets.append(out_dir.Dir(v[1]))
   # set up cleaning stuff
   for node in targets:
      env.Clean(node, node)
   return (targets, source)