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
${PROJECT_BINARY_DIR}/${script_source})
endforeach()
-set(CONFIGUREFILES
- settings/phrase_settings.php
- settings/defaults.php
- )
-
-foreach (cfile ${CONFIGUREFILES})
- configure_file(${PROJECT_SOURCE_DIR}/${cfile} ${PROJECT_BINARY_DIR}/${cfile})
+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)
+
set(WEBPATHS css images js)
foreach (wp ${WEBPATHS})