include('menulist.html');
include('static-configuration');
?>
-
+<div class='content'>
<h2>The Idea</h2>
<p>
<h2>Get The Code</h2>
<p> You can get each module as a tarball (<a href="list.html">see
-list</a>), get a tarball of <a href="ccan.tar.bz2">the whole repository</a> with tools,
-or clone our <a href="http://git.ozlabs.org/?p=ccan">git repository</a> (<tt>git clone git://git.ozlabs.org/~ccan/ccan</tt>).
+list</a>), get a tarball of <a href="<?=$argv[1]?>">the whole repository</a> with tools,
+or clone our <a href="http://git.ozlabs.org/?p=ccan">git repository</a> (<tt>git clone git://git.ozlabs.org/~ccan/ccan</tt>) or the one on <a href="http://github.com/rustyrussell/ccan/">github</a>.
</p>
<h2>Use The Code</h2>
There are two ways to use it:
<ol>
<li> Put modules into a ccan/ subdirectory into your project. Add a "config.h" (like
- <a href="example-config.h">this example</a>) and compile every .c file
+ <a href="example-config.h">this example</a>, or generate one using <a href="http://git.ozlabs.org/?p=ccan;a=blob_plain;f=tools/configurator/configurator.c">the configurator</a>) and compile every .c file
in ccan/* (as in this <a href="Makefile-ccan">Makefile</a>)).
<li> Alternatively, just hack whatever parts you want so it compiles in
<h2>Add Code</h2>
<p>
-We always welcome new code! Copy an existing module and run the "ccanlint"
-tool over it, or just send any code you have lying around any let someone
-else polish it up.
+We always welcome new code; see <a href="http://github.com/rustyrussell/ccan/wiki/Contribute">how!</a>.
</p>
<p>Anyone can send code or a git pull request to
</p>
<p>
-We also have a <a href="Wiki/">wiki</a>; feel free to enhance it.
+We also have a <a href="http://github.com/rustyrussell/ccan/wiki/">wiki</a>; feel free to enhance it.
</p>
-<hr>
+</div>
</body></html>