1 Star 0 Fork 17

sqfu/crypto-policies

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-Makefile-update-for-asciidoc-10.patch 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
yixiangzhike 提交于 2023-02-27 16:40 . update Makefile for asciidoc-10
From 8c7de0471c1de088ff3c332590ea91a71d4273c0 Mon Sep 17 00:00:00 2001
From: Alexander Sosedkin <[email protected]>
Date: Mon, 20 Feb 2023 11:39:28 +0100
Subject: [PATCH] Makefile: update for asciidoc 10
---
Makefile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index f99dc6d..e99ca19 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,11 @@ SCRIPTS=update-crypto-policies fips-finish-install fips-mode-setup
NUM_PROCS = $$(getconf _NPROCESSORS_ONLN)
PYVERSION = -3
-ASCIIDOC?=asciidoc.py
+ASCIIDOC?=asciidoc
+ifneq ("$(wildcard /usr/lib/python*/*/asciidoc/resources/docbook-xsl/manpage.xsl)","")
+MANPAGEXSL?=$(wildcard /usr/lib/python*/*/asciidoc/resources/docbook-xsl/manpage.xsl)
+else
+MANPAGEXSL?=/usr/share/asciidoc/docbook-xsl/manpage.xsl
+endif
all: build
@@ -111,7 +116,7 @@ clean:
%: %.txt
$(ASCIIDOC) -v -d manpage -b docbook $<
- xsltproc --nonet -o $@ /usr/share/asciidoc/docbook-xsl/manpage.xsl [email protected]
+ xsltproc --nonet -o $@ ${MANPAGEXSL} [email protected]
dist:
rm -rf crypto-policies && git clone . crypto-policies && rm -rf crypto-policies/.git/ && tar -czf crypto-policies-git$(VERSION).tar.gz crypto-policies && rm -rf crypto-policies
--
2.27.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fu-shanqing/crypto-policies.git
[email protected]:fu-shanqing/crypto-policies.git
fu-shanqing
crypto-policies
crypto-policies
master

搜索帮助