浏览代码

refpolicy: skip building docs

Building docs requires xmllint and other bulky things being present on
the host. Skip that.

Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle 5 年之前
父节点
当前提交
76368a5c0a
共有 2 个文件被更改,包括 13 次插入1 次删除
  1. 1 1
      package/system/refpolicy/Makefile
  2. 12 0
      package/system/refpolicy/patches/100-no-docs.patch

+ 1 - 1
package/system/refpolicy/Makefile

@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=refpolicy
 PKG_VERSION:=2.20200229
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_2_20200229

+ 12 - 0
package/system/refpolicy/patches/100-no-docs.patch

@@ -0,0 +1,12 @@
+Index: refpolicy-2.20200229/Makefile
+===================================================================
+--- refpolicy-2.20200229.orig/Makefile
++++ refpolicy-2.20200229/Makefile
+@@ -648,6 +648,6 @@ ifneq ($(generated_fc),)
+ endif
+ endif
+ 
+-.PHONY: install-src install-appconfig install-headers generate xml conf html bare tags
++.PHONY: install-src install-appconfig install-headers generate conf bare tags
+ .SUFFIXES:
+ .SUFFIXES: .c