]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
fail on execution of util scripts from source directory
[nominatim.git] / CMakeLists.txt
index 6e11e7b85e37d46abfb7e420882006e2561b8c25..65254b1c2cda88510eabf0905d32f5a9ceb83db6 100644 (file)
@@ -66,7 +66,6 @@ include_directories(${LIBXML2_INCLUDE_DIR})
 #-----------------------------------------------------------------------------
 
 set(CUSTOMFILES
 #-----------------------------------------------------------------------------
 
 set(CUSTOMFILES
-    settings/settings.php
     settings/phrase_settings.php
     website/deletable.php
     website/details.php
     settings/phrase_settings.php
     website/deletable.php
     website/details.php
@@ -92,6 +91,8 @@ foreach (cfile ${CUSTOMFILES})
     configure_file(${PROJECT_SOURCE_DIR}/${cfile} ${PROJECT_BINARY_DIR}/${cfile})
 endforeach()
 
     configure_file(${PROJECT_SOURCE_DIR}/${cfile} ${PROJECT_BINARY_DIR}/${cfile})
 endforeach()
 
+configure_file(${PROJECT_SOURCE_DIR}/settings/defaults.php ${PROJECT_BINARY_DIR}/settings/settings.php)
+
 set(WEBPATHS css images js)
 
 foreach (wp ${WEBPATHS})
 set(WEBPATHS css images js)
 
 foreach (wp ${WEBPATHS})
@@ -127,5 +128,6 @@ add_test(NAME php
 
 add_subdirectory(module)
 add_subdirectory(nominatim)
 
 add_subdirectory(module)
 add_subdirectory(nominatim)
+add_subdirectory(docs)
 
 #-----------------------------------------------------------------------------
 
 #-----------------------------------------------------------------------------