4 * How to install coccinelle
5 ------------------------------
10 export CVSROOT=:ext:topps.diku.dk:/var/cvs/cocci
12 You must be a member of the cocci group on the topps.diku.dk machine.
15 cvs checkout coccinelle.
31 * How to use coccinelle
32 ------------------------------
38 I have put demos/examples.
42 ** Emacs coccinelle mode
44 See emacs/cocci.el for instructions.
50 * How to extend coccinelle
51 ------------------------------
54 Send us a semantic patch :)
57 * Documentation on coccinelle internals
58 ----------------------------------------
59 - look at the papers from the coccinelle website:
60 http://www.emn.fr/x-info/coccinelle
62 cvs checkout working-documents
67 ** Software architecture
69 See docs/graph-module-dependencies.ps
71 ** coccinelle/ organization
75 * Being a coccinelle developer
76 ------------------------------
78 ** Conventions/advices
79 Do not use the 'open' OCaml module instruction.
80 Qualify, like in 'Cocci.full_engine x'.
82 Have a makefile in each directory with a clean:, depend:,
83 and possibly all: and all.opt: targets.
86 * How to contribute to Linux
87 ------------------------------
91 ** How to prepare a patch for Linus
94 ------------------------------
98 ** debugging: ocamldebug, the ocaml replay debugger
100 ** profiling: gprof (but can also use the -profile option of spatch)
104 *** To remove <directory>:
106 cvs release -d <directory>
108 *** To update the code and allow the checkout of new directories but
109 pruning empty (obsolete but still there because CVS sux) directories:
113 *** To see what has changed since 2 days
115 cvs diff -u -D "2 days ago"
117 *** To create a new CVS module:
121 cvs import -m"your commit message" <nameofdir> yoyo start
124 cvs checkout nameofdir
132 ------------------------------