1 Star 0 Fork 17

sqfu/crypto-policies

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-Makefile-support-overriding-asciidoc-executable-name.patch 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
yixiangzhike 提交于 2023-02-27 16:40 . update Makefile for asciidoc-10
From 66c30b1e2de5fd37d610463a8fb6e70f6164fecc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]>
Date: Mon, 7 Nov 2022 16:56:43 +0100
Subject: [PATCH] Makefile: support overriding asciidoc executable name
Support `ASCIIDOC` override to specify another name for the asciidoc
executable. On Gentoo, only `asciidoc` is installed and there is no
`asciidoc.py`. Furthermore, this makes it possible to easily use
asciidoctor in place of asciidoc.
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 0d93587..f99dc6d 100644
--- a/Makefile
+++ b/Makefile
@@ -10,5 +10,6 @@ SCRIPTS=update-crypto-policies fips-finish-install fips-mode-setup
NUM_PROCS = $$(getconf _NPROCESSORS_ONLN)
PYVERSION = -3
+ASCIIDOC?=asciidoc.py
all: build
@@ -109,7 +110,7 @@ clean:
rm -rf output
%: %.txt
- asciidoc.py -v -d manpage -b docbook $<
+ $(ASCIIDOC) -v -d manpage -b docbook $<
xsltproc --nonet -o $@ /usr/share/asciidoc/docbook-xsl/manpage.xsl [email protected]
dist:
--
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

搜索帮助