]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / CMakeLists.txt
index ba234d55af4b3f558059f3b1321ceed6f2f01be1..17b5cd7229000864ac9e09003409f4edcc84a428 100644 (file)
@@ -100,6 +100,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/check_import_finished.php
     utils/country_languages.php
@@ -121,6 +131,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)