【发布时间】:2015-10-29 01:10:11
【问题描述】:
我在构建 debian 包时遇到了问题。
规则文件的文档:https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#rules
-
debian/rules build 运行 dh build;依次运行以下内容:
dh_testdir dh_auto_configure dh_auto_build dh_auto_test -
fakeroot debian/rules 二进制运行 fakeroot dh 二进制;依次运行以下内容:
dh_testroot dh_prep dh_installdirs dh_auto_install dh_install dh_installdocs ... dh_builddeb
但是当我运行dh binary --no-act 命令时,输出包括dh build --no-act。这意味着./configure 和make 命令在构建debian 包期间运行两次。这很奇怪。
我使用dpkg-buildpackage -us -uc 构建了debian包。
更新:我看到它实际上没有运行两次,但为什么 --no-act 显示 dh build 输出运行两次?
【问题讨论】:
标签: linux debian package deb debhelper