Make docbook build script work locally

To make it useful for ad-hoc building when working with docs.