From: Loup Vaillant Date: Sat, 14 Oct 2017 15:40:13 +0000 (+0200) Subject: Erase old html files before generating the new ones X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=50e94ba321d412432bef62e95da0f7c77ec8f534;p=Monocypher.git Erase old html files before generating the new ones --- diff --git a/doc/man2html.sh b/doc/man2html.sh index eec53ef..69dcadf 100755 --- a/doc/man2html.sh +++ b/doc/man2html.sh @@ -2,6 +2,9 @@ DIR=$(dirname "$0") +# clean before build +rm -rf "$DIR/html/*.html" + for name in $(ls -1 "$DIR/man/man3/" | sed 's/.3monocypher//') do mandoc \