Fix problem wiht doc/Makefile.am and configure.ac files