I don't know what the context to this email is, but the copy of "gendocs-sh" that exists in the Texinfo sources is under the "contrib/perldoc-all" subdirectory which is code to generate Texinfo from the Perl POD documentation. (It is not used by anybody, to my knowledge.)
It is used by gnustandards to generate the web versions of the GCS and GNU maintainer guides. It is hardly a "canonical" source for this file (gendocs.sh) and it should be considered specific to the perldoc-all directory. I expect you would get the canonical version from gnulib. In general you should treat anything under the "contrib" directory in the Texinfo sources with a degree of caution. No it should not. gendocs.sh has always been maintained by texinfo.
