# HG changeset patch # User Rob Landley # Date 1194421548 21600 # Node ID 9ca9c2104cf979f1326d63bdfd3ea506d9119163 # Parent 598061b944e5f42e8c79340d6aef7600777d2edb Remove files that aren't needed anymore. diff -r 598061b944e5 -r 9ca9c2104cf9 make/do-gethg.sh --- a/make/do-gethg.sh Wed Nov 07 01:45:27 2007 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -#!/bin/sh - -# Clone or update mercurial Linux kernel repository from kernel.org - -if [ -z "$LNXDIR" ] -then - echo set LNXDIR - exit 1 -fi - -if [ ! -d "$LNXDIR" ] -then - echo "Clone Linux kernel repository from kernel.org" - - mkdir -p "$LNXDIR"/hg && - cd "$LNXDIR"/hg && - hg clone http://kernel.org/hg/linux-2.6 hg -else - # Update kernel mercurial repository. - cd "$LNXDIR"/hg && - echo "Update Linux kernel from kernel.org" - - hg pull -u -fi - -[ $? -ne 0 ] && exit 1 diff -r 598061b944e5 -r 9ca9c2104cf9 make/do-master.sh --- a/make/do-master.sh Wed Nov 07 01:45:27 2007 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -#!/bin/bash - -# Update master index - -if [ -z "$WEBDIR" ] -then - echo set WEBDIR - exit 1 -fi - -$WEBDIR/make/indexsections.py $WEBDIR/master.idx > $WEBDIR/index.html || exit 1 diff -r 598061b944e5 -r 9ca9c2104cf9 make/do-menuconfig.sh --- a/make/do-menuconfig.sh Wed Nov 07 01:45:27 2007 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -#!/bin/bash - -if [ -z "$WEBDIR" ] || [ -z "$LNXTAG" ] || [ -z "LNXDIR" ] -then - echo set WEBDIR, LNXTAG, and LNXDIR -fi - -rm -rf "$WEBDIR"/menuconfig/ -mkdir -p "$WEBDIR"/menuconfig -echo "Menuconfig docs for Linux $LNXTAG" >> "$WEBDIR"/menuconfig/index.html diff -r 598061b944e5 -r 9ca9c2104cf9 make/do-mirror.sh --- a/make/do-mirror.sh Wed Nov 07 01:45:27 2007 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -#!/bin/bash - -# Mirror various documentation resources from out on the internet - -if [ -z "$WEBDIR" ] -then - echo set WEBDIR - exit 1 -fi - -cd "$WEBDIR" -make/mirror.py -cat mirror/ols2002.pdf.gz | gunzip > mirror/ols2002.pdf -if [ -z "$(find mirror/ols2001 -name "*.pdf")" ] -then - mkdir -p mirror/ols2001 && - cd mirror/ols2001 && - wget -r -l 1 -nd http://lwn.net/2001/features/OLS/pdf/pdf/ && - cd ../.. - - [ $? -ne 0 ] && exit 1 -fi - -if [ -z "$(find ols/2007 -name "*.pdf")" ] -then - echo "Split ols files" - mkdir -p ols/{1999,2000,2001,2002,2003,2004,2005,2006,2007} && - cp mirror/ols2001/*.pdf ols/2001 && - make/splitols.py mirror ols - [ $? -ne 0 ] && exit 1 -fi - diff -r 598061b944e5 -r 9ca9c2104cf9 make/do-readme.sh --- a/make/do-readme.sh Wed Nov 07 01:45:27 2007 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -#!/bin/bash - -if [ -z "$WEBDIR" ] || [ -z "$LNXDIR" ] -then - echo set WEBDIR and LNXDIR - exit 1 -fi - -cd "$LNXDIR"/hg -rm -rf "$WEBDIR"/readme -mkdir "$WEBDIR"/readme -for i in $(find . -name "*[Rr][Ee][Aa][Dd][Mm][Ee]*" | grep -v "Documentation/") -do - OUT=$(echo $i | sed -e 's@\./@@' -e 's@/@-@g') - cp $i "$WEBDIR"/readme/$OUT -done -make help > "$WEBDIR"/makehelp.txt diff -r 598061b944e5 -r 9ca9c2104cf9 make/do-rfc.sh --- a/make/do-rfc.sh Wed Nov 07 01:45:27 2007 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,56 +0,0 @@ -#!/bin/bash - -if [ -z "$LNXDIR" ] -then - echo set LNXDIR - exit 1 -fi - -# Blank our temp file -> temp-linuxrfc.txt - -function findrfc() -{ - x=0 - # Iterate through *.c and *.h in the Linux source code. - for i in `find "$LNXDIR"/hg -name "*.[hc]"` - do - # Progress indicator - x=$[$x+1] - if [ $x -gt 250 ] - then - echo -n . >&2 - x=0 - fi - # Find each mention of an RFC, filtering out the more obvious false - # positives. - for j in `grep -io "rfc *[1-9][0-9]*" $i | grep -v " " | grep -v "@rfc822\.org" | sed -r 's/[Rr][Ff][Cc] *([0-9]*)/rfc\1/g'` - do - echo $i:$j - done - done -} - -# Find the RFC comments, with progress indicator. - -echo -n Finding RFC comments >&2 -findrfc > temp-linuxrfc.txt - -# Process the temporary directory into an html file. - -echo Converting to html... >&2 -echo "RFCs used by the Linux kernel" -echo "" - -# Remove the temporary file -rm temp-linuxrfc.txt diff -r 598061b944e5 -r 9ca9c2104cf9 make/findrfc.sh --- a/make/findrfc.sh Wed Nov 07 01:45:27 2007 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,41 +0,0 @@ -#!/bin/bash - -export LINUXDIR=~/linux/hg/ - -#> temp-linuxrfc.txt - -function findrfc() -{ - x=0 - for i in `find "$LINUXDIR" -name "*.[hc]"` - do - x=$[$x+1] - if [ $x -gt 250 ] - then - echo -n . >&2 - x=0 - fi - for j in `grep -io "rfc *[1-9][0-9]*" $i | grep -v " " | sed -r 's/[Rr][Ff][Cc] *([0-9]*)/rfc\1/g'` - do - echo $i:$j - done - done -} - -echo -n Finding RFC comments >&2 -#findrfc > temp-linuxrfc.txt - -echo "RFCs used by the Linux kernel" -echo "" - -#rm temp-linuxrfc.txt