Honour --htmldir option to configure script.