本文介绍了如何更改debian软件的手册页部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该软件包的手册页在第1节中,但我希望在第8节中使用它.我必须在git中进行哪些更改?

The package's manual page is in section 1 but I want it in section 8. What kind of changes do I have to do in git?

我尝试将package.1文件重命名为package.8,但至少在我由dpkg-buildpackage创建软件包时没有帮助.

I tried renaming the package.1 file to package.8, but it did not help at least when I created the package by dpkg-buildpackage.

推荐答案

您必须在手册页文件的内容中指定该部分.如果通过help2man创建文件,则必须使用--section选项,在本例中为--section=8.

You have to denote the section in the contents of the manual page file.If you create the file by help2man you have to use --section option, in this case --section=8.

man 1 dh_installman(对于11.1.6ubuntu2版本)显示:

man 1 dh_installman (for version 11.1.6ubuntu2) tells:

这篇关于如何更改debian软件的手册页部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-28 03:19