diff --git a/man/asciidoc.conf b/adoc/asciidoc.conf similarity index 100% rename from man/asciidoc.conf rename to adoc/asciidoc.conf diff --git a/man/llpp.man b/adoc/llpp.adoc similarity index 89% rename from man/llpp.man rename to adoc/llpp.adoc index 0a73911..2079372 100644 --- a/man/llpp.man +++ b/adoc/llpp.adoc @@ -3,7 +3,7 @@ llpp(1) == NAME -llpp - a graphical PDF viewer which aims to superficially resemble less +llpp - a graphical document pager which aims to superficially resemble less == SYNOPSIS @@ -11,9 +11,9 @@ llpp [-c path] [-css path] [-dest named-dest] [-f path] [-gc] [-help|--help] [-l == DESCRIPTION -*llpp* is a graphical PDF viewer that can be totally controlled without a mouse. -Normally MuPDF (https://mupdf.com/) is used to render the document. -The default keybindings resemble those of less(1), but can be configured by the user. +*llpp* is a graphical document pager utilizing MuPDF +(https://mupdf.com/) library. The default keybindings resemble those +of less(1), but can be configured by the user. == OPTIONS diff --git a/man/llppac.man b/adoc/llppac.adoc similarity index 100% rename from man/llppac.man rename to adoc/llppac.adoc diff --git a/man/llpphtml.man b/adoc/llpphtml.adoc similarity index 100% rename from man/llpphtml.man rename to adoc/llpphtml.adoc diff --git a/build.bash b/build.bash index 757f266..d447011 100755 --- a/build.bash +++ b/build.bash @@ -242,12 +242,13 @@ for target; do *) die "unknown doc type";; esac for m in llpp llppac llpphtml; do - src=$srcd/man/$m.man + src=$srcd/adoc/$m.adoc out=$md/$m$suf conf="$srcd/man/asciidoc.conf" keycmd="digest $out $src $conf" cmd="a2x -D $md -d manpage -f $doct $src" isfresh "$out" "$cmd$(eval $keycmd)" || { + echo "$doct $src -> $out" eval "$cmd || die '$cmd failed'" echo "k='$cmd$(eval $keycmd)'" >"$out.past" } && vecho "fresh manual pages"