Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
document how to rebuild the java lib in a chroot while releasing
[simgrid.git] / doc / doxygen / inside.doc
index f970655..0ef01a8 100644 (file)
@@ -28,7 +28,7 @@ different from runtime configuration.
 
 In particular, the build is configured by default to produce highly
 optimized binaries, at the price of high compilation time. The
-rational is that users will compile SimGrid only once, and use it many
+rationale is that users will compile SimGrid only once, and use it many
 times. This is exactly the contrary for the insiders, so you want to
 turn off \b enable_compile_optimizations.
 
@@ -44,8 +44,11 @@ to install the relevant tool to ensure that your changes follow our
 coding standards:
 
 @verbatim
-sudo apt-get install clang-format-3.8
-ln -s $PWD/tools/git-hooks/clang-format.pre-commit .git/hooks/pre-commit
+# install clang-format
+sudo apt-get install clang-format-3.8 # debian
+
+# tell git to call the script on each commit
+ln -s $(realpath tools/git-hooks/clang-format.pre-commit) .git/hooks/pre-commit
 @endverbatim
 
 This will add an extra verification before integrating any commit that