X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/56839ba50fb28285d7e6e647cb04df0dece1a387..414e6f089fc361ac22e28227be2d34a256226505:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d401ade..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,6 +136,11 @@ foreach (script_source ${WEBSITESCRIPTS}) ${PROJECT_BINARY_DIR}/${script_source}) endforeach() +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)