Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a indent rule to format the code in an uniform way, avoiding breaking the branche...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 26 May 2009 15:08:51 +0000 (15:08 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 26 May 2009 15:08:51 +0000 (15:08 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6308 48e7efb5-ca39-0410-a469-dd3cf9ba447f

Makefile.am

index b054fef..f3781b5 100644 (file)
@@ -79,6 +79,12 @@ publish: dist
         cp ChangeLog ~/public_html/simgrid2/
         $(MAKE) -C ~/public_html
 
         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/
 sync-gforge: 
        chmod g+rw -R doc/
        chmod a+rX -R doc/