LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 880|回复: 3

makepkg可以保留doc和info文件了。

[复制链接]
发表于 2006-2-15 10:43:45 | 显示全部楼层 |阅读模式
详见/etc/makepkg.conf。

  1. #-- Keep doc and info directories
  2. #export KEEPDOCS="1"
复制代码
发表于 2006-2-15 13:06:47 | 显示全部楼层
不用再这里设置,在PKGBUILD中设置,因为大多数程序保留这些文档毫无意义,但是有些编程方面的程序需要保留这些文档。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-15 13:51:38 | 显示全部楼层
got it.


  1.        options
  2.               This  array  allows  you  to  override   some   of
  3.               makepkg's  default  behaviour  when building pack-
  4.               ages.  To set an option, just include  the  option
  5.               name in the options array.

  6.                             Available Options:

  7.                      FORCE  force  the package to be upgraded by
  8.                             --sysupgrade, even if its  an  older
  9.                             version.

  10.                      KEEPDOCS
  11.                             do  not  remove  /usr/share/doc  and
  12.                             /usr/share/info directories.

  13.                      NOSTRIP
  14.                             do not strip debugging symbols  from
  15.                             binaries and libraries.
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-2-15 20:50:54 | 显示全部楼层
我正为这事烦呢,都要说脏话了,进来就有人谈这问题了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表