build: make the 'doc' target generic
Version 4.3.1