diff --git a/开始贡献/ukylin打包指南.md b/开始贡献/ukylin打包指南.md index 26a4a3ce..09815f2b 100644 --- a/开始贡献/ukylin打包指南.md +++ b/开始贡献/ukylin打包指南.md @@ -436,6 +436,7 @@ check自测用例通过。 **debian/rules(维护者版本):.** +``` $ vim debhello-0.0/debian/rules ... hack, hack, hack, ... $ cat debhello-0.0/debian/rules @@ -443,6 +444,8 @@ $ cat debhello-0.0/debian/rules export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh \$@ override_dh_auto_install: dh_auto_install -- prefix=/usr +``` + 如上在 **debian/rules** 文件中导出=**DH_VERBOSE** 环境变量可以强制 **debhelper** 工具输出细粒度的构建报告。 @@ -465,6 +468,7 @@ DESTDIR=debian/debhello prefix=/usr**”。 **debian/control(维护者版本):.** + $ vim debhello-0.0/debian/control ... hack, hack, hack, ... $ cat debhello-0.0/debian/control Source: debhello