1. In order to avoid some of the functions of the missing man, first installed manpages-dev
sudo apt-get install manpages-dev
2. Install mandocs dependencies xmlto
sudo apt-get install xmlto
3. To enter the kernel source directory to compile and install mandocs
sudo make mandocs & sudo make install mandocs