diff --git a/man/md2man-all.sh b/man/md2man-all.sh index 97c65c93..f850ddf3 100755 --- a/man/md2man-all.sh +++ b/man/md2man-all.sh @@ -9,6 +9,11 @@ cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" pwd } +if ! ( which go-md2man &>/dev/null ); then + echo "To install man pages, please install 'go-md2man'." + exit 0 +fi + for FILE in *.md; do base="$(basename "$FILE")" name="${base%.md}"