tweak handling of the doc install dir