X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=misc%2Fcheck-doc.sh;h=da0c4cf0370638fb7d8d60ab31b2247c9e426a75;hp=73b169a1ac9f74bc25500accd44a97fd02601982;hb=d8e9b1b35d50a9e1ddfe6fa277f2b84e611ee41b;hpb=35988b61919747a21d0b2cfd83076621082343a6 diff --git a/misc/check-doc.sh b/misc/check-doc.sh index 73b169a..da0c4cf 100755 --- 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