From: Sarah Hoffmann Date: Mon, 5 Jul 2021 14:20:44 +0000 (+0200) Subject: Merge remote-tracking branch 'upstream/master' X-Git-Tag: deploy~160 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/9025b0ec78bd770e74a1bed85c8d2e43ce5f571a?hp=-c Merge remote-tracking branch 'upstream/master' --- 9025b0ec78bd770e74a1bed85c8d2e43ce5f571a diff --combined CMakeLists.txt index b8a6a2e4,38551da7..48d640bc --- a/CMakeLists.txt +++ b/CMakeLists.txt @@@ -113,27 -113,6 +113,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 #----------------------------------------------------------------------------- @@@ -279,5 -258,6 +279,6 @@@ install(FILES settings/env.default settings/import-address.style settings/import-full.style settings/import-extratags.style - settings/legacy_icu_tokenizer.json + settings/legacy_icu_tokenizer.yaml + settings/icu-rules/extended-unicode-to-asccii.yaml DESTINATION ${NOMINATIM_CONFIGDIR})