Re: [Libphidget-devel] make indent
Status: Alpha
Brought to you by:
jstrohm
|
From: Vadim T. <vt...@fr...> - 2002-09-08 04:09:39
|
According to Jack Strohm: > On Sat, 2002-09-07 at 21:29, Vadim Tkachenko wrote: > > Hello, > > > > I'm going to introduce two top-level targets: > > > > make indent > > make indent-local > > > > First one indents all the .c, .h and .cc files according to ./indent.rules > > file content (so the CVS stays consistent), and the second will indent all > > the files according to current user's $HOME/.indent.pro content. > > > sounds good to me. Have you worked with indent before? I haven't. Just a little bit, but reading the man page once, carefully, is enough. This is what I'll do: I'll commit the things *related* to indent, however, I will not do 'make indent' before commiting the changes, so you have a chance to play around with $HOME/.indent.pro and see what kind of indentaion you like. As for the project, I'd say just go with --gnu-style... Maybe with minor modifications. Funny thing, though, indent breaks the very long return statements in the switch statement in phidget.c, so that has to be fixed manually - but just the first time... --vt |