changeset 85:9ca9c2104cf9

Remove files that aren't needed anymore.
author Rob Landley <rob@landley.net>
date Wed, 07 Nov 2007 01:45:48 -0600
parents 598061b944e5
children ca7e38053195
files make/do-gethg.sh make/do-master.sh make/do-menuconfig.sh make/do-mirror.sh make/do-readme.sh make/do-rfc.sh make/findrfc.sh
diffstat 7 files changed, 0 insertions(+), 202 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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
--- 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 "<html><title>Menuconfig docs for Linux $LNXTAG</title><body><ul>" > $WEBDIR/menuconfig/index.html
-cd "$LNXDIR"/hg
-for i in $(find arch -maxdepth 2 -name Kconfig | sort)
-do
-  echo Converting "$i"
-  ARCH=$(echo $i | sed -r 's@.*/(.*)/.*@\1@')
-  echo "<li><a href=${ARCH}.html>${ARCH}</a></li>" >> "$WEBDIR"/menuconfig/index.html
-  "$WEBDIR"/make/menuconfig2html.py $i "$WEBDIR"/menuconfig "$LNXTAG" > "$WEBDIR"/menuconfig/$ARCH.html
-done
-echo "</ul></body></html>" >> "$WEBDIR"/menuconfig/index.html
--- 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
-
--- 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
--- 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 "<html><head><title>RFCs used by the Linux kernel</title></head>"
-echo "<ul>"
-for i in $(sed 's/.*://' temp-linuxrfc.txt | sort -u | sort -t c -k 2,2 -n)
-do
-  echo '<li><h2><a href="http://tools.ietf.org/html/'$i'">'$i'</a></h2><p>'
-  for j in $(sed -rn 's@\'"$LNXDIR"/hg'(.*):'$i'$@\1@p' temp-linuxrfc.txt)
-  do
-    echo '<a href="http://kernel.org/hg/linux-2.6/file/tip/'$j'">'$j'</a>'
-  done
-  echo "</p></li>"
-done
-echo "</ul></html>"
-
-# Remove the temporary file
-rm temp-linuxrfc.txt
--- 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 "<html><head><title>RFCs used by the Linux kernel</title></head>"
-echo "<ul>"
-for i in $(sed 's/.*://' temp-linuxrfc.txt | sort -u | sort -t c -k 2,2 -n)
-do
-  echo '<li><h2><a href="http://tools.ietf.org/html/'$i'">'$i'</a></h2><p>'
-  for j in $(sed -rn 's@\'"$LINUXDIR"'(.*):'$i'$@\1@p' temp-linuxrfc.txt)
-  do
-    echo '<a href="http://kernel.org/hg/linux-2.6/file/tip/'$j'">'$j'</a>'
-  done
-  echo "</p></li>"
-done
-echo "</ul></html>"
-
-#rm temp-linuxrfc.txt