gtk-doc.make: gather generic bits

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
subdir-object support

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>