aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/manpages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'aux/workflow/manpages.sh')
-rwxr-xr-xaux/workflow/manpages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/aux/workflow/manpages.sh b/aux/workflow/manpages.sh
index 00a53d9..fe215f7 100755
--- a/aux/workflow/manpages.sh
+++ b/aux/workflow/manpages.sh
@@ -40,7 +40,7 @@ for f in "$@"; do
case "$ACTION" in
html)
assert "${OUTDIR:-}" OUTDIR
- to_name="$(basename "${f%.$l.$n}.html")"
+ to_name="$(basename "${f%.$l.$n}.$n.html")"
mkdir -p "$OUTDIR/$l"
pandoc -s -r man -w html --metadata "lang=$l" < "$f" > "$OUTDIR/$l/$to_name"
;;