Projects
Factory:RISC-V:Base
crypto-policies
_service:tar_scm:backport-Makefile-support-over...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-Makefile-support-overriding-asciidoc-executable-name.patch of Package crypto-policies
From 66c30b1e2de5fd37d610463a8fb6e70f6164fecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> 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 $@.xml dist: -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2