From ec656d8b2ae38ea2048971ac5cdccaa27452da1c Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Tue, 24 Dec 2024 15:43:35 +0100 Subject: Make do with a2x when there is no asciidoctor --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 455c22d..e7dfe61 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,8 @@ all: $(outputs) acid: acid.go go build -ldflags "-X 'main.projectVersion=$(version)'" -o $@ acid.1: acid.adoc - asciidoctor -b manpage -a release-version=$(version) -o $@ acid.adoc + asciidoctor -b manpage -a release-version=$(version) -o $@ acid.adoc || \ + a2x -d manpage -f manpage -a release-version=$(version) acid.adoc test: all go test clean: -- cgit v1.2.3-70-g09d2