Mercurial > hg > kdocs
diff make/make.sh @ 26:3c78854053e3
A script to convert menuconfig to html. Have make.sh call it for all $ARCH.
(Need to create an index.html, and improve the conversion...)
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 15 Aug 2007 01:17:23 -0500 |
parents | b7f376e957ac |
children | ba26365cf74f |
line wrap: on
line diff
--- a/make/make.sh Mon Aug 13 16:25:58 2007 -0500 +++ b/make/make.sh Wed Aug 15 01:17:23 2007 -0500 @@ -1,18 +1,29 @@ #!/bin/bash echo Update linux kernel from kernel.org Mercurial repository -# mkdir -p ~/linux/hg -# hg clone http://kernel.org/hg/linux-2.6 -cd ~/linux/hg/linux-2.6 +# mkdir -p ~/linux +# cd ~/linux +# hg clone http://kernel.org/hg/linux-2.6 hg +cd ~/linux/hg hg pull -u +echo Convert kconfig to html for all architectures +mkdir -p ~/www/kdocs/menuconfig +for i in $(find arch -maxdepth 2 -name Kconfig) +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 +done + echo Install updated Documentation rm -rf ~/www/kdocs/Documentation/ -cp -a ~/linux/hg/linux-2.6/Documentation ~/www/kdocs/Documentation +cp -a ~/linux/hg/Documentation ~/www/kdocs/Documentation echo Build htmldocs and xhtml-nochunks rm -rf ~/linux/temp -cd ~/linux/hg/linux-2.6 +cd ~/linux/hg mkdir ~/linux/temp make allnoconfig O=~/linux/temp