diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 856f1a6a1ab17e1aa3fd6a3ae7dc79f2c7745fd5..1cf805e523f61cdd94759c724adedf6524caa70c 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -13,7 +13,7 @@ add_subdirectory(man)
 if (ENABLE_DOC)
     add_subdirectory(user)
     add_subdirectory(developer)
+    add_subdirectory(www-data.in)
 endif()
 
 
-add_subdirectory(www-data.in)