在Linux系统下用源码编译安装软件后,在$PREFIX预约目录下生成如./share/man/man1/tmux.1的帮助文件 (tmux-1.8)python
<!-- lang: shell --> love@d7s3:~$ tree /usr/local/tmux/ /usr/local/tmux/ ├── bin │ └── tmux └── share └── man └── man1 └── tmux.1
4 directories, 2 filesshell
能够直接用man查看帮助文件的内容: love@d7s3:~$ man /usr/local/tmux/share/man/man1/tmux.1 ......code
(python-3.3.1)源码
<!-- lang: shell --> love@d7s3:~$ tree /usr/local/python-3.3.2/share/ /usr/local/python-3.3.2/share/ └── man └── man1 ├── python3.1 -> python3.3.1 └── python3.3.1
2 directories, 2 files love@d7s3:~$ love@d7s3:~$ man /usr/local/python-3.3.2/share/man/man1/python3.3.1 ......编译