]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
PSR2 fixes for /wikidata and /tests-php directories
[nominatim.git] / CMakeLists.txt
index 6e11e7b85e37d46abfb7e420882006e2561b8c25..65254b1c2cda88510eabf0905d32f5a9ceb83db6 100644 (file)
@@ -66,7 +66,6 @@ include_directories(${LIBXML2_INCLUDE_DIR})
 #-----------------------------------------------------------------------------
 
 set(CUSTOMFILES
-    settings/settings.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}/settings/defaults.php ${PROJECT_BINARY_DIR}/settings/settings.php)
+
 set(WEBPATHS css images js)
 
 foreach (wp ${WEBPATHS})
@@ -127,5 +128,6 @@ add_test(NAME php
 
 add_subdirectory(module)
 add_subdirectory(nominatim)
+add_subdirectory(docs)
 
 #-----------------------------------------------------------------------------