Mercurial > hg > kdocs
changeset 27:ba26365cf74f
Generate menuconfig/index.html.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 15 Aug 2007 02:10:33 -0500 |
parents | 3c78854053e3 |
children | 35b3feac366a |
files | make/make.sh |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/make/make.sh Wed Aug 15 01:17:23 2007 -0500 +++ b/make/make.sh Wed Aug 15 02:10:33 2007 -0500 @@ -9,13 +9,15 @@ echo Convert kconfig to html for all architectures mkdir -p ~/www/kdocs/menuconfig -for i in $(find arch -maxdepth 2 -name Kconfig) +echo "<html>Menuconfig docs for kernel $(make kernelversion)</html><body><ul>" > ~/www/kdocs/menuconfig/index.html +for i in $(find arch -maxdepth 2 -name Kconfig | sort) do echo Converting "$i" ARCH=$(echo $i | sed -r 's@.*/(.*)/.*@\1@') - - ~/www/kdocs/make/menuconfig2html.py $i > ~/www/kdocs/menuconfig/$(echo $i | sed -r 's@.*/(.*)/.*@\1@').html + echo "<li><a href=${ARCH}.html>${ARCH}</a></li>" >> ~/www/kdocs/menuconfig/index.html + ~/www/kdocs/make/menuconfig2html.py $i > ~/www/kdocs/menuconfig/$ARCH.html done +echo "</ul></body></html>" >> ~/www/kdocs/menuconfig/index.html echo Install updated Documentation rm -rf ~/www/kdocs/Documentation/