I tried some hacks to m3doc to make it running under cm3 or least to get
something installed that allow for usage of pm3 packages that most oftenly
import m3doc.
Problem: Since the m3makefile of m3doc essentially consists of a
'template' invocation only, cm3 does not put anything in the .M3SHIP file
and thus m3doc cannot be installed. :-(
To make m3doc really working one need a quake function or variable
'PACKAGE' that gives the name of the current package. Further one needs
access to the .M3SHIP file to add some 'install' lines. Both
functionalities are availbable in pm3 but I haven't found them in cm3.