X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e14e7c6235a40dbec451146bcb3aaec013d659c9..0ee821d64f7fe700e593583f74141e1edafaacc6:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b4c2976..40140056 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,7 +114,6 @@ if (BUILD_IMPORTER) export.php query.php setup.php - specialphrases.php update.php warm.php ) @@ -128,6 +127,27 @@ if (BUILD_IMPORTER) ${PROJECT_BINARY_DIR}/nominatim) endif() +#----------------------------------------------------------------------------- +# Targets for running a development webserver from the build directory. +#----------------------------------------------------------------------------- + +if (BUILD_API) + set(WEBSITEFILES + 403.html + 509.html + crossdomain.xml + favicon.ico + nominatim.xml + robots.txt + taginfo.json + ) + + foreach (webfile ${WEBSITEFILES}) + configure_file(${PROJECT_SOURCE_DIR}/website/${webfile} + ${PROJECT_BINARY_DIR}/website/${webfile}) + endforeach() +endif() + #----------------------------------------------------------------------------- # Tests #----------------------------------------------------------------------------- @@ -259,7 +279,7 @@ endif() install(FILES settings/env.defaults settings/address-levels.json - settings/phrase_settings.php + settings/phrase-settings.json settings/import-admin.style settings/import-street.style settings/import-address.style