Taken from http://bazaar.launchpad.net/~russel/scons-doxygen/trunk/files/10
