AFAIK, the program used is makeinfo. I think on Debian and Ubuntu, the makeinfo binary is part of the texinfo package.