Re: [Libphidget-devel] More on indent
Status: Alpha
Brought to you by:
jstrohm
|
From: Vadim T. <vt...@fr...> - 2002-09-11 02:38:42
|
According to Jack Strohm: > > > [jstrohm@oishi libphidget]$ make indent > > > indent: unknown option "-blank-lines-after-block-comments" > > I cut and paste the error, not sure where the single - came from. That's funny... > > > and then woops! all the source code files were empty :-( > > > > > > no problem, but need to add a something so that if indent dies it > > > doesn't kill the original file. > > > > Will fix that. Fixed. > please, be bad to loose all changes before you check in cause you called > "make indent" ??? You mean do *not* check in the *.c/cc/h files? Of course not, only Makefile.am change was committed... Did I understand you properly? > > > started over again, and set up the configuration like you said above, > > > now if this is the style it's checked in as, and we can run indent-local > > > to get our own preferences it's fine with me, but I personally don't > > > care for it. > > > > So, would it be OK if I just commit it as it is with the above options and > > merge it back to main branch? > > Yeah, as long as we are sure it won't flip/flop on us like the last > style :-) :( Yes, that's exactly what I was hunting for. The set of options in indent.rules that I've just committed produces the stable code - multiple 'make indent && make' runs recompile the code just once. Please 'cvs commit' and verify. If there's an error, send me an output of script(1)ed run of the problem. It should look like this: Script started on Tue Sep 10 19:36:48 2002 DISABLING LIBSAFE so Jar can work 19:36:48 vt@freehold:~/libphidget$ make indent cd . && automake --gnu Makefile cd . \ && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status creating Makefile 19:36:58 vt@freehold:~/libphidget$ make Making all in src make[1]: Entering directory /home/vt/libphidget/src' Making all in libphidget make[2]: Entering directory /home/vt/libphidget/src/libphidget' *** Documentation is not created - install Doxygen make[2]: Leaving directory /home/vt/libphidget/src/libphidget' Making all in phidget++ make[2]: Entering directory /home/vt/libphidget/src/phidget++' *** Documentation is not created - install Doxygen make[2]: Leaving directory /home/vt/libphidget/src/phidget++' Making all in examples make[2]: Entering directory /home/vt/libphidget/src/examples' *** Documentation is not created - install Doxygen make[2]: Leaving directory /home/vt/libphidget/src/examples' Making all in rpm make[2]: Entering directory /home/vt/libphidget/src/rpm' make[2]: Nothing to be done for ll'. make[2]: Leaving directory /home/vt/libphidget/src/rpm' make[2]: Entering directory /home/vt/libphidget/src' make[2]: Nothing to be done for ll-am'. make[2]: Leaving directory /home/vt/libphidget/src' make[1]: Leaving directory /home/vt/libphidget/src' make[1]: Entering directory /home/vt/libphidget' make[1]: Nothing to be done for ll-am'. make[1]: Leaving directory /home/vt/libphidget' 19:37:00 vt@freehold:~/libphidget$ Use "exit" to leave the shell. 19:37:01 vt@freehold:~/libphidget$ Script done on Tue Sep 10 19:37:01 2002 --vt |