Installation of Doxygen
Install Doxygen by running the following commands:
rm src/unistd.h &&
./configure --prefix /usr --docdir /usr/share/doc &&
make
This package does not come with a test suite.
Now, as the root user:
make install
If you wish to generate and install the package documentation (note that man pages have already been installed), you must have TeX installed, then issue the following command as the root user:
make install_docs
Tip
If you don't have TeX installed but wish to generate and install the HTML documentation (very good docs), issue the following commands:
make docs
Now, as the root user:
install -v -m755 -d /usr/share/doc/doxygen &&
cp -v -R examples html /usr/share/doc/doxygen
Command Explanations
rm src/unistd.h: There is a bug in Flex-2.5.31 which causes make to use this file instead of the system installed version. Removing this file allows the GUI front-end to build successfully. This command is not required if you don't pass the --with-doxywizard parameter (but won't affect the build otherwise).
--with-doxywizard: Use this parameter if Qt is installed and you wish to build the GUI front-end.
Copying from " http://www.linuxfromscratch.org/blfs/view/6.1/general/doxygen.html "

本文提供Doxygen的安装步骤,包括基本安装、文档生成及安装,特别指出若未安装TeX则如何仅安装HTML文档。文中还解释了几个关键命令的作用。
3799

被折叠的 条评论
为什么被折叠?



