mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-10-18 19:10:30 +08:00
This is a general guide to getting started on radicle, available as a man page. We also make sure that the page is built on release.
17 lines
262 B
Bash
Executable File
17 lines
262 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ $# -lt 2 ]; then
|
|
echo "usage: $0 <output-dir> <input-file>..."
|
|
exit 1
|
|
fi
|
|
|
|
outdir="$1"
|
|
shift
|
|
|
|
for input in "$@"; do
|
|
echo "Building $input.."
|
|
asciidoctor --doctype manpage --backend manpage --destination-dir "$outdir" "$input"
|
|
done
|