From 95d328f9ca4dd6ccd2065c6c84aca83d43001804 Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 26 May 2009 15:08:51 +0000 Subject: [PATCH] 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 --- Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) 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/ -- 2.20.1