Honour --htmldir option to configure script.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>