mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
a16b7bce95
* chore: sync with Terra 39 * fix: update mock-configs path * fix: use f38 specs for desktops * chore: move more lomiri/unity specific packages (#880) * Fix(ubuntu-sdk): update description & version (#878) Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com> * fix: disable docs package (#887) * sync more changes from f39 * add keyd fixes --------- Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com> Signed-off-by: lleyton <lleyton@fyralabs.com> Co-authored-by: cat-master21 <96554164+cat-master21@users.noreply.github.com>
13 lines
344 B
Bash
13 lines
344 B
Bash
cd man
|
|
for FILE in *.md; do
|
|
base="$(basename "$FILE")"
|
|
name="${base%.md}"
|
|
num="${name##*.}"
|
|
if [ -z "$num" ] || [ "$name" = "$num" ]; then
|
|
# skip files that aren't of the format xxxx.N.md (like README.md)
|
|
continue
|
|
fi
|
|
mkdir -p "./man${num}"
|
|
(set -x ;go-md2man -in "$FILE" -out "./man${num}/${name}")
|
|
done
|