From 2a38443871bb16c076b058f30fb044b2d4518135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Sat, 18 Jan 2025 22:19:50 +0100 Subject: [PATCH] docs: fixed docs generation on centos-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- Makefile | 2 +- doc/manual/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 652ebd45..a3819d37 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ export SBINDIR = $(PREFIX)/sbin export SYSCONFDIR = /etc export DATADIR = $(PREFIX)/share export DOCDIR = $(DATADIR)/doc/$(NAME) -PYTHON = $(BINDIR)/python3 +export PYTHON = $(BINDIR)/python3 PYLINT = pylint-3 ifeq ($(PYTHON),python2) PYLINT = pylint-2 diff --git a/doc/manual/Makefile b/doc/manual/Makefile index 3fde17a5..1173a4f1 100644 --- a/doc/manual/Makefile +++ b/doc/manual/Makefile @@ -1,7 +1,7 @@ .PHONY: clean index.html: master.adoc assemblies/*.adoc meta/*.adoc modules/performance/*.adoc ../../tuned/plugins/plugin_*.py - python3 ../../compile_plugin_docs.py modules/performance/ref_available-tuned-plug-ins_intro.adoc modules/performance/ref_available-tuned-plug-ins.adoc + $(PYTHON) ../../compile_plugin_docs.py modules/performance/ref_available-tuned-plug-ins_intro.adoc modules/performance/ref_available-tuned-plug-ins.adoc asciidoctor -o index.html master.adoc || asciidoc -d book -o index.html master.adoc install: index.html