Thanks for your candid remarks. I can't deny that it is a wrapper shell script which uses a non-branching sequence of shell commands to generate the documentation and store it away. The nightmare portion of the code is the movement of the actual document into the web service repository. Happily that whole section that will be gutted when DM-1044 is implemented.
Yes, this ported script is installed and operational in the production system. The DM doxygen documentation is produced by it.
I will move this to done and later ask for a full code review when the second half of the script is rewritten in DM-1044.