Automatically install asciidoctor

This commit is contained in:
Benoit Daloze 2024-03-18 19:02:23 +01:00
parent 926ed2a649
commit c6683d561c

View file

@ -5,4 +5,5 @@ install:
bash install.sh bash install.sh
share/man/man1/%.1: share/man/man1/%.1.adoc bin/ruby-build share/man/man1/%.1: share/man/man1/%.1.adoc bin/ruby-build
which asciidoctor || gem install asciidoctor
asciidoctor -b manpage -a version=$(release_version:v%=%) -o $@ $< asciidoctor -b manpage -a version=$(release_version:v%=%) -o $@ $<