]> git.openstreetmap.org Git - nominatim.git/blobdiff - CMakeLists.txt
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / CMakeLists.txt
index 7d401ade35a5427ad38a06adc98dc0d75c46a17b..8f9de5ec711b1a0c2d5cbf1058858d49415e9801 100644 (file)
@@ -104,6 +104,17 @@ set(WEBSITESCRIPTS
     website/status.php
 )
 
     website/status.php
 )
 
+set(WEBSITEFILES
+    403.html
+    509.html
+    crossdomain.xml
+    favicon.ico
+    last_update.php
+    nominatim.xml
+    robots.txt
+    taginfo.json
+)
+
 set(CUSTOMSCRIPTS
     utils/country_languages.php
     utils/importWikipedia.php
 set(CUSTOMSCRIPTS
     utils/country_languages.php
     utils/importWikipedia.php
@@ -125,6 +136,11 @@ foreach (script_source ${WEBSITESCRIPTS})
                    ${PROJECT_BINARY_DIR}/${script_source})
 endforeach()
 
                    ${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)
 
 configure_file(${PROJECT_SOURCE_DIR}/settings/defaults.php
                ${PROJECT_BINARY_DIR}/settings/settings.php)