htmldoc: Rework DEPENDS updates