man and doc dirs must be present

Altered scripts to preserve man and doc directories, also preserving .1 and .3 man files.