- 进入内核源码的顶级目录
- 查看生成文档的方式
linux-3.10:13:54] make help
输出内容如下
Documentation targets:
Linux kernel internal documentation in different formats:
htmldocs - HTML
pdfdocs - PDF
psdocs - Postscript
xmldocs - XML DocBook
mandocs - man pages
installmandocs - install man pages generated by mandocs
cleandocs - clean all generated DocBook files
- 在执行
make mandocs
遇到了 *** You need to install xmlto *** - 所以执行
sudo apt-get install xmlto
- 再次
make mandocs
即可。