From: Jeremy Kerr Date: Wed, 16 May 2012 03:02:56 +0000 (+0800) Subject: tools: Add create-ccan-tree utility X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=ebcbbcfafce6a239724c841d30b9ba345cef41e4;hp=ebcbbcfafce6a239724c841d30b9ba345cef41e4 tools: Add create-ccan-tree utility Add a script to create a ccan source tree for inclusion into projects' distributed code. create-ccan-tree takes a list of ccan modules and copies them, plus any dependent modules, into a target directory. Enough build infrastructure is added to build libccan.a from the ccan modules. Typical usage for my project that uses talloc and read-write-all: lib/ccan.git/tools/create-ccan-tree --exclude-tests \ lib/ccan/ talloc read-write-all - this uses a git submodule in $PWDlib/ccan.git to create a source tree in $PWD/lib/ccan, containing code for talloc and read-write-all. Signed-off-by: Jeremy Kerr ---