diff options
author | Michael Bien <[email protected]> | 2009-11-22 23:06:41 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-11-22 23:06:41 +0100 |
commit | bee7d042a78b76afee1789bd48ab3e67c9a3fe8d (patch) | |
tree | a7578f07588acaa26da1fb4acad71fa8d9961687 /resources/createTagletProps.sh | |
parent | a23d5e45b8112ffc7ba02bc564ace6ed6c0414b9 (diff) |
generated javadoc links now to the official OpenCL doc (http://www.khronos.org/opencl/sdk/1.0/docs/man/xhtml/).
every generated method contains now a link to the specific OpenCL man page of the native OpenCL function.
Diffstat (limited to 'resources/createTagletProps.sh')
-rw-r--r-- | resources/createTagletProps.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/createTagletProps.sh b/resources/createTagletProps.sh new file mode 100644 index 00000000..537f61fe --- /dev/null +++ b/resources/createTagletProps.sh @@ -0,0 +1,9 @@ +#download index +wget http://www.khronos.org/opencl/sdk/1.0/docs/man/xhtml/Opencl_tofc.html; +#find links to cl* function doc +grep -E .+\<a\ href=\"cl[A-Z][^\"]+\"[^\>]+\>cl[A-Z][a-Z]+\</a\>.+ ./Opencl_tofc.html > links; +#add doc root to properties file +echo nativetaglet.baseUrl=http://www.khronos.org/opencl/sdk/1.0/docs/man/xhtml/ > native-taglet.properties; +#add all links as properties to file and cleanup +sed -r 's/\s+<li><a href="([a-Z.]+)"[^>]+>([a-Z]+)<\/a><\/li>/\2=\1/' links >> native-taglet.properties; +rm ./Opencl_tofc.html ./links |