summaryrefslogtreecommitdiffhomepage
path: root/build/makedocs.sh
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-29 21:16:12 +0000
committerSteven Barth <steven@midlink.org>2008-07-29 21:16:12 +0000
commit8c3ee6f9b7e5ab0b4edbf4838c7c1a9ee6d7df5d (patch)
treecfc137969531140b44fe4c15ac11587fdb7f7ebd /build/makedocs.sh
parent5b43543226fa29dc7d899e9fc82f0179aefcb56b (diff)
Added "apidocs" target to Makefile
contrib/luadoc: Added luadoc executable libs: Fixed typos in inline documentation
Diffstat (limited to 'build/makedocs.sh')
-rwxr-xr-xbuild/makedocs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/makedocs.sh b/build/makedocs.sh
new file mode 100755
index 0000000000..2f7f573450
--- /dev/null
+++ b/build/makedocs.sh
@@ -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.