diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-12-24 15:43:35 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-12-24 15:43:35 +0100 |
commit | ec656d8b2ae38ea2048971ac5cdccaa27452da1c (patch) | |
tree | 8c0597ad9a9ab602c2e2d4d90b9e71fb2bedf0a3 | |
parent | a09b11256b1ad540d6606912dab82a992f74b130 (diff) | |
download | acid-ec656d8b2ae38ea2048971ac5cdccaa27452da1c.tar.gz acid-ec656d8b2ae38ea2048971ac5cdccaa27452da1c.tar.xz acid-ec656d8b2ae38ea2048971ac5cdccaa27452da1c.zip |
Make do with a2x when there is no asciidoctor
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |