]> git.openstreetmap.org Git - nominatim.git/blobdiff - Makefile
installation for Ubuntu 24.04 with packages
[nominatim.git] / Makefile
index 03ddafac4a003f6a3f3c338930e3a181ce40325a..bea0e6c98c8389b57e404fc0971ea38eac20cff6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,26 +5,26 @@ all:
 build: build-core build-db build-api
 
 build-core:
-       cd packaging/nominatim-core; python3 -m build . --outdir ../dist/
+       python3 -m build packaging/nominatim-core --outdir dist/
 
 build-db:
-       cd packaging/nominatim-db; python3 -m build . --outdir ../dist/
+       python3 -m build packaging/nominatim-db --outdir dist/
 
 build-api:
-       cd packaging/nominatim-api; python3 -m build . --outdir ../dist/
+       python3 -m build packaging/nominatim-api --outdir dist/
 
 # Tests
 
 tests: mypy lint pytest
 
 mypy:
-       python3 -m mypy --strict src
+       mypy --strict src
 
 pytest:
-       python3 -m pytest test/python
+       pytest test/python
 
 lint:
-       python3 -m pylint src
+       pylint src
 
 bdd:
        cd test/bdd; behave -DREMOVE_TEMPLATE=1