]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - misc/check-doc.sh
Fix makefile
[xonotic/gmqcc.git] / misc / check-doc.sh
index 73b169a1ac9f74bc25500accd44a97fd02601982..da0c4cf0370638fb7d8d60ab31b2247c9e426a75 100755 (executable)
@@ -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