From 2c1dd2b74b7edd9ab922d2fa6a8273bbf6c59677 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 20 Jun 2017 07:55:55 +0200 Subject: [PATCH 1/1] still improving my workflow with my new outoftree toy --- doc/doxygen/inside.doc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/doxygen/inside.doc b/doc/doxygen/inside.doc index 27f55f41cc..de65fd6112 100644 --- a/doc/doxygen/inside.doc +++ b/doc/doxygen/inside.doc @@ -99,11 +99,11 @@ these files are accessible both from the srcdir and from the bindir. If you edit a source file found under bindir, the srcdir version (visible to git) will also be changed (that's the same file, after all). -If you accidentally call `make` from the srcdir, it will mess up your -out of tree builds. To fix it, remove \c srcdir/CMakeCache.txt. -To prevent make to even create this file, create a srcdir/CMakeFiles -directory, and change its mode to 0 (`chmod 0 CMakeFiles`). That way, -if you type `make` by mistake from srcdir, it will fail before causing -any harm. +If you convert from a regular build to an out-of-tree build, you need +to clean your source tree by removing the following files: + +@verbatim +rm Makefile CMakeCache.txt CMakeFiles.txt include/simgrid_config.h src/internal_config.h +@endverbatim */ -- 2.20.1