X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a8ec250993b0ed0e48bbefd8fb3bcbb861c5f2a9..c3238682a8867edfb3c052ca4d2d27b3926ad17a:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index b4f4ddb8..3fad37d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,6 +118,21 @@ endif() #----------------------------------------------------------------------------- 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() + add_custom_target(serve php -S 127.0.0.1:8088 WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/website