[doc] add script to generate mimetypes.conf
[autobuild] fix duplicate config.h install and remove config.h from dist tarball