X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=misc%2Fcheck-doc.sh;h=da0c4cf0370638fb7d8d60ab31b2247c9e426a75;hp=e5ffdee295789318ff33238c8b26df5e0eae0b5c;hb=dac058107a33615a9279ed0ab73dadfc2fea5fd1;hpb=660a22d647333aa3c48f1ab4b5695b2de8c8296f diff --git a/misc/check-doc.sh b/misc/check-doc.sh index e5ffdee..da0c4cf 100755 --- a/misc/check-doc.sh +++ b/misc/check-doc.sh @@ -42,4 +42,10 @@ check_opt FLAGS f check_opt WARNS W check_opt OPTIMIZATIONS O -for i in doc/*.1; do mandoc -Tlint -Wall "$i"; done +# TODO: linux version +if [ "$(uname -s)" != "Linux" ]; then + for i in doc/*.1; + do + mandoc -Tlint -Wall "$i"; + done +fi