share: generate stubs for manpages

Signed-off-by: Jean Privat <jean@pryen.org>