X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b5480f6e366be7c7d06d8444acc4cfd6a1aa31e2..98dbc84836dd834dd41cb4ada675456746e872f1:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 79551ce7..1c274594 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,7 +98,6 @@ if (BUILD_IMPORTER) set(CUSTOMSCRIPTS check_import_finished.php country_languages.php - importWikipedia.php export.php query.php setup.php @@ -111,29 +110,16 @@ if (BUILD_IMPORTER) configure_file(${PROJECT_SOURCE_DIR}/cmake/script.tmpl ${PROJECT_BINARY_DIR}/utils/${script_source}) endforeach() + + configure_file(${PROJECT_SOURCE_DIR}/cmake/tool.tmpl + ${PROJECT_BINARY_DIR}/nominatim) endif() #----------------------------------------------------------------------------- -# webserver scripts (API only) +# Targets for running a development webserver from the build directory. #----------------------------------------------------------------------------- if (BUILD_API) - set(WEBSITESCRIPTS - deletable.php - details.php - lookup.php - polygons.php - reverse.php - search.php - status.php - ) - - foreach (script_source ${WEBSITESCRIPTS}) - configure_file(${PROJECT_SOURCE_DIR}/cmake/website.tmpl - ${PROJECT_BINARY_DIR}/website/${script_source}) - endforeach() - - add_custom_target(serve php -S 127.0.0.1:8088 WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/website @@ -145,13 +131,6 @@ if (BUILD_API) ) endif() -#----------------------------------------------------------------------------- -# default settings -#----------------------------------------------------------------------------- - -configure_file(${PROJECT_SOURCE_DIR}/settings/defaults.php - ${PROJECT_BINARY_DIR}/settings/settings.php) - #----------------------------------------------------------------------------- # Tests #-----------------------------------------------------------------------------