From: mquinson Date: Tue, 26 May 2009 15:08:51 +0000 (+0000) Subject: Add a indent rule to format the code in an uniform way, avoiding breaking the branche... X-Git-Tag: SVN~1332 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/95d328f9ca4dd6ccd2065c6c84aca83d43001804?ds=inline Add a indent rule to format the code in an uniform way, avoiding breaking the branches for nothing git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6308 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/Makefile.am b/Makefile.am index b054fefd31..f3781b5965 100644 --- a/Makefile.am +++ b/Makefile.am @@ -79,6 +79,12 @@ publish: dist cp ChangeLog ~/public_html/simgrid2/ $(MAKE) -C ~/public_html +indent: + indent -br -brs -ce -bbo -bap --dont-break-procedure-type \ + --no-tabs --cuddle-do-while --cuddle-else --indent-level2 \ + --leave-preprocessor-space --no-space-after-function-call-names \ + `$(MAKE) dist-files | grep '\.[ch]$$'|grep -v '/_' |grep -v '_unit.c'` + sync-gforge: chmod g+rw -R doc/ chmod a+rX -R doc/