SOURCE_DATE_EPOCH=1752624000 asciidoctor -a crystal_version=1.17.0 doc/man/crystal.adoc -b manpage -o man/crystal.1
sh: line 1: asciidoctor: command not found
╰──➤ $ pacman -Qi asciidoctor
Name : asciidoctor
Version : 2.0.23-6
Description : An implementation of AsciiDoc in Ruby
Add a library write by Ruby as dependencies, maybe we can rewrite it use Crystal, or, not introduce it?
That’s odd. This should not be necessary. The man/crystal.1 file is materialized in the repo. It should only rebuild when there were changes to doc/man/crystal.adoc.
Maybe it’s a timestamp issue…? Try touch man/crystal.1?
Please note that the manpages generated with asciidoctor are split into separate files, one for each compiler subcommand. The install recipe doesn’t handle that yet and only installs crystal.1.
I’d recommend to use the man/crystal.1 from upstream for now which contains the entire manual.