Merge pull request #2 from eile/master

Update CMake to use generated Doxyfile
Fix C&P bug