diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index f79db8cc78374a9c8fee766322a65e3bf229de86..e32af7187b50c974f9b82d97bf88ace37e1859bf 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -89,13 +89,13 @@ if (DOXYGEN_FOUND)
             VERBATIM
             )
         # Copying files is necessary: https://stackoverflow.com/a/45808534/232888
-        execute_process(COMMAND ls -l)
-		FILE(COPY
-		    Examples.rst
-		    README_SETUP.md
+        execute_process(COMMAND ls -l doc)
+        FILE(COPY
+            Examples.rst
+            README_SETUP.md
             DEPENDENCIES.md
             # Tutorial.rst
-			DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")
+            DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")
     else ()
         message("Sphinx need to be installed to generate the sphinx documentation")
     endif ()