When configured with --enable-documentation, use doxygen.
These patterns have been sitting in my private .git/info/exclude files since 2005 because we used to use SVN.