We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56f8df5 commit c2cc557Copy full SHA for c2cc557
2 files changed
README.md
@@ -12,7 +12,7 @@ the Void documentation and the `void-docs.1` man page. It requires the following
12
Void packages:
13
14
- `mdBook`
15
-- `fd`
+- `findutils`
16
- `pandoc`
17
- `texlive`
18
- `perl`
res/build.sh
@@ -14,11 +14,9 @@ echo "Building man pages"
mkdir -p mandoc
cd src
-fd -t d "" ./ -x mkdir -p "../mandoc/{}"
-
19
-fd "\.md" ./ -x pandoc \
20
- -V "title={/.}" -V "section=7" -V "header=Void Docs" -s \
21
- -o "../mandoc/{.}.7" "{}"
+find . -type d -exec mkdir -p "../mandoc/{}" \;
+find . -type f -name "*.md" -exec sh -c \
+ 'file="{}"; filew="${file%.md}"; pandoc -V "title=${filew##*/}" -V section=7 -V "header=Void Docs" -s -o "../mandoc/${filew}.7" "$file"' \;
22
23
cd -
24
0 commit comments