aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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: