X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fe6a2e9f14af7286c62a1145ac1507e922ef2d36..24e52de5f34363dd7fa5cc318d00e7c7135b84ff:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 19c560f7..8f9de5ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,6 +104,17 @@ set(WEBSITESCRIPTS website/status.php ) +set(WEBSITEFILES + 403.html + 509.html + crossdomain.xml + favicon.ico + last_update.php + nominatim.xml + robots.txt + taginfo.json +) + set(CUSTOMSCRIPTS utils/country_languages.php utils/importWikipedia.php @@ -125,15 +136,14 @@ foreach (script_source ${WEBSITESCRIPTS}) ${PROJECT_BINARY_DIR}/${script_source}) endforeach() -set(CONFIGUREFILES - settings/phrase_settings.php - settings/defaults.php - ) - -foreach (cfile ${CONFIGUREFILES}) - configure_file(${PROJECT_SOURCE_DIR}/${cfile} ${PROJECT_BINARY_DIR}/${cfile}) +foreach (webfile ${WEBSITEFILES}) + configure_file(${PROJECT_SOURCE_DIR}/website/${webfile} + ${PROJECT_BINARY_DIR}/website/${webfile}) endforeach() +configure_file(${PROJECT_SOURCE_DIR}/settings/defaults.php + ${PROJECT_BINARY_DIR}/settings/settings.php) + set(WEBPATHS css images js) foreach (wp ${WEBPATHS})