diff --git a/doc/doxygen/CMakeLists.txt b/doc/doxygen/CMakeLists.txt
index 14034acf62605d977e8e810951e1a325a188cce5..ec81c77bf53ac48a10d3558b7a973b0938668006 100644
--- a/doc/doxygen/CMakeLists.txt
+++ b/doc/doxygen/CMakeLists.txt
@@ -77,6 +77,7 @@ if(DOXYGEN_EXECUTABLE)
     add_custom_target(doxygen-out ALL
                       DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/out-dev
                               #${CMAKE_CURRENT_BINARY_DIR}/out-usr
+                              chameleon
                               )
 
     # Installation for html version
diff --git a/doc/orgmode/CMakeLists.txt b/doc/orgmode/CMakeLists.txt
index d189a3a493de0009f4162519d2705540919a29b3..bdcd7910e8ed8faee3e75d4ab8d3e7c7b1e737a9 100644
--- a/doc/orgmode/CMakeLists.txt
+++ b/doc/orgmode/CMakeLists.txt
@@ -83,8 +83,8 @@ if(EMACS_COMPILER)
                        DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/users_guide.org
                                ${CMAKE_CURRENT_BINARY_DIR}/version.org
                       )
-    add_custom_target(doc-html-users_guide ALL DEPENDS users_guide.html)
-    add_custom_target(doc-pdf-users_guide ALL DEPENDS users_guide.pdf)
+    add_custom_target(doc-html-users_guide ALL DEPENDS users_guide.html chameleon)
+    add_custom_target(doc-pdf-users_guide ALL DEPENDS users_guide.pdf chameleon)
 
     # Installation
     # ------------