mirror of https://gitee.com/openkylin/docs.git
update 开始贡献/ukylin打包指南.md.
This commit is contained in:
parent
c5c5eaf313
commit
83a2c34e9b
|
@ -436,6 +436,7 @@ check自测用例通过。
|
||||||
|
|
||||||
**debian/rules(维护者版本):.**
|
**debian/rules(维护者版本):.**
|
||||||
|
|
||||||
|
```
|
||||||
$ vim debhello-0.0/debian/rules
|
$ vim debhello-0.0/debian/rules
|
||||||
... hack, hack, hack, ...
|
... hack, hack, hack, ...
|
||||||
$ cat debhello-0.0/debian/rules
|
$ cat debhello-0.0/debian/rules
|
||||||
|
@ -443,6 +444,8 @@ $ cat debhello-0.0/debian/rules
|
||||||
export DH_VERBOSE = 1
|
export DH_VERBOSE = 1
|
||||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
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**
|
如上在 **debian/rules** 文件中导出=**DH_VERBOSE** 环境变量可以强制 **debhelper**
|
||||||
工具输出细粒度的构建报告。
|
工具输出细粒度的构建报告。
|
||||||
|
@ -465,6 +468,7 @@ DESTDIR=debian/debhello prefix=/usr**”。
|
||||||
|
|
||||||
**debian/control(维护者版本):.**
|
**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
|
$ cat debhello-0.0/debian/control
|
||||||
Source: debhello
|
Source: debhello
|
||||||
|
|
Loading…
Reference in New Issue