From c5c5eaf3139dea7903e2189107a3e93bd3abd2d3 Mon Sep 17 00:00:00 2001 From: luoyaoming <10085160+luoyaoming@user.noreply.gitee.com> Date: Wed, 12 Jan 2022 03:42:21 +0000 Subject: [PATCH] =?UTF-8?q?update=20=E5=BC=80=E5=A7=8B=E8=B4=A1=E7=8C=AE/u?= =?UTF-8?q?kylin=E6=89=93=E5=8C=85=E6=8C=87=E5=8D=97.md.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 开始贡献/ukylin打包指南.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/开始贡献/ukylin打包指南.md b/开始贡献/ukylin打包指南.md index c2045db..26a4a3c 100644 --- a/开始贡献/ukylin打包指南.md +++ b/开始贡献/ukylin打包指南.md @@ -436,14 +436,13 @@ check自测用例通过。 **debian/rules(维护者版本):.** -| \$ vim debhello-0.0/debian/rules +$ vim debhello-0.0/debian/rules ... hack, hack, hack, ... $ cat debhello-0.0/debian/rules #!/usr/bin/make -f 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 | -|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +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** 工具输出细粒度的构建报告。 @@ -466,7 +465,7 @@ DESTDIR=debian/debhello prefix=/usr**”。 **debian/control(维护者版本):.** -| \$ vim debhello-0.0/debian/control ... hack, hack, hack, ... +$ vim debhello-0.0/debian/control ... hack, hack, hack, ... $ cat debhello-0.0/debian/control Source: debhello Section: devel @@ -480,8 +479,7 @@ Package: debhello Architecture: any Multi-Arch: foreign Depends: \${misc:Depends}, \${shlibs:Depends} -Description: Simple packaging example for debmake This Debian binary package is an example package. (This is an example only) | -|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +Description: Simple packaging example for debmake This Debian binary package is an example package. (This is an example only) 在 **debian/** 目录下还有一些其它的模板文件。根据具体场景,它们也需要进行更新。之后可以开始对软件包进行构建。