The Idea
@@ -18,33 +18,34 @@ CCAN is loosely modelled after the successful CPAN pro for Perl code development and sharing.
-Getting The Code
+Get The Code
+ +You can get each module as a tarball (see +list), get a tarball of the whole repository with tools, +or clone our git repository (git clone git://git.ozlabs.org/~ccan/ccan) or the one on github. +
+Use The Code
-Once you grab some modules, there are two basic -ways to use it: +There are two ways to use it:
-
-
- Just hack it to compile in your project. +
- Put modules into a ccan/ subdirectory into your project. Add a "config.h" (like + this example, or generate one using the configurator) and compile every .c file + in ccan/* (as in this Makefile)). -
- Use it in place by giving it a "config.h" (steal - this example) and compiling all the .c - files which don't start with "_" (eg. as in this simple Makefile). +
- Alternatively, just hack whatever parts you want so it compiles in +your project.
Add Code
-There's also a -Bazaar repository for all the CCAN -infrastructure at -http://ccan.ozlabs.org/repo. +We always welcome new code; see how!.
-Module Contributions
- --We welcome new code! The guide to creating new modules is a work in -progress (just copy an existing module), but anyone can -just upload code. +
Anyone can send code or a git pull request to +the friendly +mailing list or just upload it using the web form.
@@ -58,7 +59,6 @@ licenses preferred. We have a low volume mailing list for discussion of CCAN in general, and you're welcome to join. -
@@ -66,12 +66,7 @@ We also have an IRC channel: #ccan on Freenode
-We also have a wiki; feel free to enhance it. +We also have a wiki; feel free to enhance it.
- --Rusty Russell -
- -+