Added "apidocs" target to Makefile
[project/luci.git] / build / makedocs.sh
diff --git a/build/makedocs.sh b/build/makedocs.sh
new file mode 100755 (executable)
index 0000000..2f7f573
--- /dev/null
@@ -0,0 +1,2 @@
+luadoc -d $2 --no-files $(for f in $(find $1 -name '*.lua' -type f); do if grep -q -- "@return" $f; then echo $f; fi; done)
+echo API-Documentation was created in $2.