Cleanup resource name, add file basename.
Correct doxygen output dir.