annotate make/functions.sh @ 97:b1069151f74b

Add and split up OLS 2008 papers.
author Rob Landley <rob@landley.net>
date Wed, 06 Aug 2008 14:51:11 -0500
parents a96c14daa4c7
children 7bcba6e2acc3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
1 #!/bin/bash
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
2
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
3 # This file defines functions used by make.sh
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
4
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
5 # Safety check: Only define these functions if WEBDIR and LNXDIR defined.
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
6
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
7 if [ -z "$WEBDIR" ] || [ -z "$LNXDIR" ]
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
8 then
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
9 echo set WEBDIR and LNXDIR
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
10 exit 1
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
11 fi
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
12
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
13 # Update Documentation directory
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
14
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
15 function update_documentation_dir()
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
16 {
86
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
17 rm -rf "$WEBDIR"/Documentation/
88
41f999d7f077 Disentangle Documentation from temporary linux directory. (Allows the scsi
Rob Landley <rob@landley.net>
parents: 86
diff changeset
18 cp -a "$LNXDIR"/temp/Documentation "$WEBDIR"/Documentation
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
19 # Make the change directory local to this function
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
20 (
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
21 cd $WEBDIR
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
22 make/docdiridx.py
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
23 )
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
24 }
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
25
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
26 # Clone or update mercurial Linux kernel repository from kernel.org
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
27
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
28 function get_hg()
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
29 {
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
30 # Make the chdir local to this function
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
31 (
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
32 if [ ! -d "$LNXDIR" ]
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
33 then
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
34 echo "Clone Linux kernel repository from kernel.org"
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
35
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
36 mkdir -p "$LNXDIR"/hg &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
37 cd "$LNXDIR"/hg &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
38 hg clone http://kernel.org/hg/linux-2.6 hg
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
39 else
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
40 # Update kernel mercurial repository.
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
41 cd "$LNXDIR"/hg &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
42 echo "Update Linux kernel from kernel.org" &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
43 hg pull -u
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
44 fi
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
45 [ $? -ne 0 ] && exit 1
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
46
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
47 echo "Linux version: $(hg tags | head -n 2 | tail -n 1 | awk '{print $1}')"
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
48 )
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
49 }
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
50
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
51 function make_htmldocs()
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
52 {
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
53 # Make the chdir local
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
54 (
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
55 cd "$LNXDIR"/temp &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
56 make -j 2 htmldocs
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
57 )
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
58 }
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
59
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
60 function make_htmlnochunks()
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
61 {
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
62 # Make the chdir local
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
63 (
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
64 cd "$LNXDIR"/temp &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
65 # Probably redundant, but just in case...
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
66 make -j 2 xmldocs &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
67 cd Documentation/DocBook &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
68 for i in *.xml
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
69 do
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
70 echo "Converting $i"
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
71 xmlto xhtml-nochunks $i -o xhtml-nochunks
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
72 done
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
73 )
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
74 }
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
75
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
76 function install_htmldocs()
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
77 {
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
78 (
86
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
79 rm -rf $WEBDIR/htmldocs
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
80 cd "$LNXDIR"/temp/Documentation/DocBook &&
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
81 # Install nochunks versions
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
82 mv xhtml-nochunks "$WEBDIR"/htmldocs &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
84 head -n 2 index.html > "$WEBDIR"/htmldocs/index.html &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
85 echo "<ul>" >> "$WEBDIR"/htmldocs/index.html
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
86
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
87 [ $? -ne 0 ] && exit 1
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
88
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
89 # Install broken-up versions and index.html
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
90 for i in $(ls -p | sed -n 's@/$@@p')
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
91 do
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
92 mv $i "$WEBDIR"/htmldocs &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
93 echo "<li>(<a href=\"$i\">chunks</a>) (<a href=\"${i}.html\">nochunks</a>) " \
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
94 >> "$WEBDIR"/htmldocs/index.html &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
95 sed -nr 's@.*<title>(.*)</title>.*@\1@p' ${i}.xml | head -n 1 >> \
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
96 "$WEBDIR"/htmldocs/index.html &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
97 echo "</li>" >> "$WEBDIR"/htmldocs/index.html
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
98
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
99 [ $? -ne 0 ] && exit 1
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
100 done
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
101
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
102 cd "$WEBDIR"/htmldocs &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
103 echo "</ul>" >> index.html &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
104 # Work around a bug in xmlto: it puts an incorrect code page into the
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
105 # converted html documents, which produces line noise in the output.
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
106 sed -i -e 's/.*ISO-8859-1.*//' $(find . -name "*.html")
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
107 )
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
108 }
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
109
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
110 function update_master()
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
111 {
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
112 "$WEBDIR"/make/indexsections.py $WEBDIR/master.idx > $WEBDIR/index.html
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
113 }
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
114
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
115 function htmlize_menuconfig()
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
116 {
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
117 (
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
118 cd "$LNXDIR"/hg &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
119 LNXTAG="$(hg tags | head -n 2 | tail -n 1 | awk '{print $1}')"
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
120
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
121 rm -rf "$WEBDIR"/menuconfig/
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
122 mkdir -p "$WEBDIR"/menuconfig &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
123 echo "<html><title>Menuconfig docs for Linux $LNXTAG</title><body><ul>" > \
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
124 "$WEBDIR"/menuconfig/index.html &&
95
a96c14daa4c7 The kernel changed out from under us a bit, update to work with 2.6.25-pre1.
Rob Landley <rob@landley.net>
parents: 91
diff changeset
125 for i in $(echo arch/*/Kconfig | sort)
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
126 do
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
127 echo Converting "$i" &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
128 ARCH=$(echo $i | sed -r 's@.*/(.*)/.*@\1@') &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
129 echo "<li><a href=${ARCH}.html>${ARCH}</a></li>" >> \
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
130 "$WEBDIR"/menuconfig/index.html &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
131 "$WEBDIR"/make/menuconfig2html.py $i "$WEBDIR"/menuconfig "$LNXTAG" > \
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
132 "$WEBDIR"/menuconfig/$ARCH.html
86
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
133
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
134 [ $? -eq 0 ] || exit 1
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
135 done
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
136 ) &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
137 echo "</ul></body></html>" >> "$WEBDIR"/menuconfig/index.html
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
138 }
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
139
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
140 function mirror_files()
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
141 {
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
142 (
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
143 cd "$WEBDIR" &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
144 make/mirror.py
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
145 [ $? -ne 0 ] && exit 1
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
146
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
147 cat mirror/ols2002.pdf.gz | gunzip > mirror/ols2002.pdf &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
148 if [ -z "$(find mirror/ols2001 -name "*.pdf")" ]
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
149 then
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
150 mkdir -p mirror/ols2001 &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
151 cd mirror/ols2001 &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
152 wget -r -l 1 -nd http://lwn.net/2001/features/OLS/pdf/pdf/ &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
153 cd ../..
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
154
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
155 [ $? -ne 0 ] && exit 1
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
156 fi
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
157
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
158 if [ -z "$(find ols/2007 -name "*.pdf")" ]
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
159 then
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
160 echo "Split ols files"
97
b1069151f74b Add and split up OLS 2008 papers.
Rob Landley <rob@landley.net>
parents: 95
diff changeset
161 mkdir -p ols/{1999,2000,2001,2002,2003,2004,2005,2006,2007,2008} &&
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
162 cp mirror/ols2001/*.pdf ols/2001 &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
163 make/splitols.py mirror ols
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
164
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
165 [ $? -ne 0 ] && exit 1
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
166 fi
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
167 )
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
168 }
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
169
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
170 function find_readmes()
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
171 {
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
172 (
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
173 rm -rf "$WEBDIR"/readme
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
174 mkdir "$WEBDIR"/readme &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
175 cd "$LNXDIR"/hg &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
176 make help > "$WEBDIR"/makehelp.txt &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
177 for i in $(find . -name "*[Rr][Ee][Aa][Dd][Mm][Ee]*" | grep -v "Documentation/")
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
178 do
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
179 OUT=$(echo $i | sed -e 's@\./@@' -e 's@/@-@g')
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
180 cp $i "$WEBDIR"/readme/"$(echo $i | sed -e 's@\./@@' -e 's@/@-@g')"
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
181 done
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
182 )
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
183 }
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
184
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
185 function findrfc()
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
186 {
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
187 (
86
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
188 > "$WEBDIR"/temp-linuxrfc.txt &&
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
189 cd "$LNXDIR" || exit 1
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
190 echo -n "Search for RFC references"
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
191 x=0
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
192 # Iterate through *.c and *.h in the Linux source code.
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
193 for i in `find "$LNXDIR"/hg -name "*.[hc]"`
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
194 do
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
195 # Progress indicator
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
196 x=$[$x+1]
86
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
197 if [ $x -gt 100 ]
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
198 then
86
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
199 echo -n .
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
200 x=0
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
201 fi
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
202 # Grep each source file for mention of an RFC, filtering out the more
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
203 # obvious false positives.
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
204 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')
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
205 do
86
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
206 echo $i:$j >> "$WEBDIR"/temp-linuxrfc.txt
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
207 done
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
208 done
86
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
209 ) &&
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
210
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
211 # Process the temporary directory into an html file.
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
212
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
213 echo Converting to html...
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
214 (
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
215 cd "$WEBDIR" || exit 1
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
216 echo "<html><head><title>RFCs used by the Linux kernel</title></head>"
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
217 echo "<ul>"
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
218 for i in $(sed 's/.*://' temp-linuxrfc.txt | sort -u | sort -t c -k 2,2 -n)
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
219 do
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
220 echo '<li><h2><a href="http://tools.ietf.org/html/'$i'">'$i'</a></h2><p>'
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
221 for j in $(sed -rn 's@\'"$LNXDIR"/hg'(.*):'$i'$@\1@p' temp-linuxrfc.txt)
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
222 do
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
223 echo '<a href="http://kernel.org/hg/linux-2.6/file/tip/'$j'">'$j'</a>'
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
224 done
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
225 echo "</p></li>"
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
226 done
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
227 echo "</ul></html>"
86
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
228 ) > "$WEBDIR"/rfc-linux.html &&
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
229
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
230 # Remove the temporary file
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
231 rm temp-linuxrfc.txt
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
232 }
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
233
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
234 # Set up for out of tree build of Linux.
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
235
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
236 function setuplinuxtemp()
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
237 {
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
238 rm -rf "$LNXDIR"/temp &&
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
239 mkdir "$LNXDIR"/temp &&
88
41f999d7f077 Disentangle Documentation from temporary linux directory. (Allows the scsi
Rob Landley <rob@landley.net>
parents: 86
diff changeset
240 # Building out of tree conflicts with patching the files, so copy.
91
559603be1678 Do hard links when creating temporary linux directory. (Patch breaks 'em.)
Rob Landley <rob@landley.net>
parents: 88
diff changeset
241 cp -lr "$LNXDIR"/hg/* "$LNXDIR"/temp &&
88
41f999d7f077 Disentangle Documentation from temporary linux directory. (Allows the scsi
Rob Landley <rob@landley.net>
parents: 86
diff changeset
242 (
91
559603be1678 Do hard links when creating temporary linux directory. (Patch breaks 'em.)
Rob Landley <rob@landley.net>
parents: 88
diff changeset
243 cd "$LNXDIR"/temp
88
41f999d7f077 Disentangle Documentation from temporary linux directory. (Allows the scsi
Rob Landley <rob@landley.net>
parents: 86
diff changeset
244 # Apply patches
41f999d7f077 Disentangle Documentation from temporary linux directory. (Allows the scsi
Rob Landley <rob@landley.net>
parents: 86
diff changeset
245 for i in "$WEBDIR"/make/patches/*.patch
41f999d7f077 Disentangle Documentation from temporary linux directory. (Allows the scsi
Rob Landley <rob@landley.net>
parents: 86
diff changeset
246 do
41f999d7f077 Disentangle Documentation from temporary linux directory. (Allows the scsi
Rob Landley <rob@landley.net>
parents: 86
diff changeset
247 echo $i
95
a96c14daa4c7 The kernel changed out from under us a bit, update to work with 2.6.25-pre1.
Rob Landley <rob@landley.net>
parents: 91
diff changeset
248 if [ -f "$i" ]
a96c14daa4c7 The kernel changed out from under us a bit, update to work with 2.6.25-pre1.
Rob Landley <rob@landley.net>
parents: 91
diff changeset
249 then
a96c14daa4c7 The kernel changed out from under us a bit, update to work with 2.6.25-pre1.
Rob Landley <rob@landley.net>
parents: 91
diff changeset
250 patch -p1 -i $i || exit 1
a96c14daa4c7 The kernel changed out from under us a bit, update to work with 2.6.25-pre1.
Rob Landley <rob@landley.net>
parents: 91
diff changeset
251 fi
88
41f999d7f077 Disentangle Documentation from temporary linux directory. (Allows the scsi
Rob Landley <rob@landley.net>
parents: 86
diff changeset
252 done
41f999d7f077 Disentangle Documentation from temporary linux directory. (Allows the scsi
Rob Landley <rob@landley.net>
parents: 86
diff changeset
253
41f999d7f077 Disentangle Documentation from temporary linux directory. (Allows the scsi
Rob Landley <rob@landley.net>
parents: 86
diff changeset
254 # Do setup we'll need later.
41f999d7f077 Disentangle Documentation from temporary linux directory. (Allows the scsi
Rob Landley <rob@landley.net>
parents: 86
diff changeset
255 make allnoconfig > /dev/null &&
83
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
256 make -j 2 xmldocs
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
257 )
13a980b307f8 Largeish rewrite of make.sh, breaking things out into functions. This has the
Rob Landley <rob@landley.net>
parents:
diff changeset
258 }
86
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
259
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
260 function wait4background()
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
261 {
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
262 # Wait for background task to finish
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
263 while [ $(jobs | wc -l) -ne 0 ]
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
264 do
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
265 sleep 1
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
266 # Without this next line, bash never notices a change in the number of jobs.
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
267 # Bug noticed in Ubuntu 7.04
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
268 jobs > /dev/null
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
269 done
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
270 }
ca7e38053195 Updates and bug fixes, should work now. Options to make.sh are --nonet and
Rob Landley <rob@landley.net>
parents: 83
diff changeset
271