X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7ab373e86d932929148d49384cbdac0191144a46..7ea860b2c083a0b1c3cc99fb07cd803b2000f880:/CMakeLists.txt?ds=inline diff --git a/CMakeLists.txt b/CMakeLists.txt index 163b0494..3cb56ed8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,6 +107,16 @@ set(WEBSITESCRIPTS website/status.php ) +set(WEBSITEFILES + 403.html + 509.html + crossdomain.xml + favicon.ico + nominatim.xml + robots.txt + taginfo.json +) + set(CUSTOMSCRIPTS utils/country_languages.php utils/importWikipedia.php @@ -128,6 +138,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)