X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=misc%2Fcheck-doc.sh;h=da0c4cf0370638fb7d8d60ab31b2247c9e426a75;hb=330111d5fc15e7fa575f041821189061bed828a0;hp=73b169a1ac9f74bc25500accd44a97fd02601982;hpb=d6f62418728e0487f82dcc7d7156813a5302eea6;p=xonotic%2Fgmqcc.git diff --git a/misc/check-doc.sh b/misc/check-doc.sh old mode 100644 new mode 100755 index 73b169a..da0c4cf --- a/misc/check-doc.sh +++ b/misc/check-doc.sh @@ -41,3 +41,11 @@ check_opt() { check_opt FLAGS f check_opt WARNS W check_opt OPTIMIZATIONS O + +# TODO: linux version +if [ "$(uname -s)" != "Linux" ]; then + for i in doc/*.1; + do + mandoc -Tlint -Wall "$i"; + done +fi