X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/139cea5720e3b1030ec9a10c678d723752d707f4..6299afcad75e57ef28375201a9078cfaad057546:/Makefile diff --git a/Makefile b/Makefile index 0e09a884..cd7280fe 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,10 @@ all: # Building of wheels -build: build-core build-db build-api +build: clean-build build-db build-api -build-core: - python3 -m build packaging/nominatim-core --outdir dist/ +clean-build: + rm -f dist/* build-db: python3 -m build packaging/nominatim-db --outdir dist/ @@ -29,4 +29,16 @@ lint: bdd: cd test/bdd; behave -DREMOVE_TEMPLATE=1 -.PHONY: tests mypy pytest lint bdd build build-core build-db build-api +# Documentation + +doc: + mkdocs build + +serve-doc: + mkdocs serve + +manpage: + argparse-manpage --pyfile man/create-manpage.py --function get_parser --project-name Nominatim --url https://nominatim.org > man/nominatim.1 --author 'the Nominatim developer community' --author-email info@nominatim.org + + +.PHONY: tests mypy pytest lint bdd build clean-build build-db build-api doc serve-doc manpage