Projects
Factory:RISC-V:Base
crypto-policies
_service:tar_scm:backport-Makefile-update-for-a...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-Makefile-update-for-asciidoc-10.patch of Package crypto-policies
From 8c7de0471c1de088ff3c332590ea91a71d4273c0 Mon Sep 17 00:00:00 2001 From: Alexander Sosedkin <asosedkin@redhat.com> 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 $@.xml + xsltproc --nonet -o $@ ${MANPAGEXSL} $@.xml 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
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