third_party/waf: upgrade to waf 2.0.8
[ambi/samba-autobuild/.git] / third_party / waf / waflib / extras / doxygen.py
index f6e951b8f322f35eab7d65beb6247adef23cd310..28f56e9c7d74aff513b06f7c3712c98f8f3a1cde 100644 (file)
@@ -1,7 +1,3 @@
-#! /usr/bin/env python
-# encoding: utf-8
-# WARNING! Do not edit! https://waf.io/book/index.html#_obtaining_the_waf_file
-
 #! /usr/bin/env python
 # encoding: UTF-8
 # Thomas Nagy 2008-2010 (ita)
@@ -194,13 +190,13 @@ class tar(Task.Task):
 @feature('doxygen')
 def process_doxy(self):
        if not getattr(self, 'doxyfile', None):
-               self.generator.bld.fatal('no doxyfile??')
+               self.bld.fatal('no doxyfile variable specified??')
 
        node = self.doxyfile
        if not isinstance(node, Node.Node):
                node = self.path.find_resource(node)
        if not node:
-               raise ValueError('doxygen file not found')
+               self.bld.fatal('doxygen file %s not found' % self.doxyfile)
 
        # the task instance
        dsk = self.create_task('doxygen', node)