set(BUILD_MODULE on CACHE BOOL "Build PostgreSQL module")
set(BUILD_TESTS on CACHE BOOL "Build test suite")
set(BUILD_DOCS on CACHE BOOL "Build documentation")
+set(BUILD_MANPAGE on CACHE BOOL "Build Manual Page")
set(BUILD_OSM2PGSQL on CACHE BOOL "Build osm2pgsql (expert only)")
#-----------------------------------------------------------------------------
export.php
query.php
setup.php
- specialphrases.php
update.php
warm.php
)
if (PYLINT)
message(STATUS "Using pylint binary ${PYLINT}")
add_test(NAME pylint
- COMMAND ${PYLINT} --extension-pkg-whitelist=osmium nominatim
+ COMMAND ${PYLINT} nominatim
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
else()
message(WARNING "pylint not found. Python linting tests disabled.")
add_subdirectory(docs)
endif()
+#-----------------------------------------------------------------------------
+# Manual page
+#-----------------------------------------------------------------------------
+
+if (BUILD_MANPAGE)
+ add_subdirectory(manual)
+endif()
+
#-----------------------------------------------------------------------------
# Installation
#-----------------------------------------------------------------------------
install(FILES settings/env.defaults
settings/address-levels.json
- settings/phrase_settings.php
+ settings/phrase-settings.json
settings/import-admin.style
settings/import-street.style
settings/import-address.style