From: Niki Roo Date: Wed, 28 Mar 2018 13:02:25 +0000 (+0200) Subject: Makefile: Improve man support X-Git-Tag: fanfix-1.7.0~5 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=5783289ee54b3ac206f2e57e1d1856a5ab5e965e;p=fanfix.git Makefile: Improve man support --- diff --git a/Makefile.base b/Makefile.base index 98a80e4..ba40711 100644 --- a/Makefile.base +++ b/Makefile.base @@ -274,7 +274,8 @@ man: cat "$$man" | tail -n+2; \ ) | sed 's:^#\(#.*\):\1:g' \ | sed 's:^\(#.*\):\U\1:g;s:# *'"$$UNAME"':# NAME\n'"${NAME}"' \\- :g' \ - | pandoc -f markdown -t man | sed 's:-:\\-:g' ; \ + | sed 's:--:——:g' \ + | pandoc -f markdown -t man | sed 's:——:--:g' ; \ ) > man/"$$lang"/man1/"${NAME}.1"; \ done; \ mkdir -p "man/man1"; \