seperate gneration of .inc and doc files in gentable
porting: RHE 5