]> git.openstreetmap.org Git - nominatim.git/blobdiff - Makefile
Merge pull request #3499 from mtmail/add-data-warn-if-frozen
[nominatim.git] / Makefile
index 0e09a884fff15c877a170e08c4734cea88e67fe3..dae45322a0410980af4f2419065429c5ca065786 100644 (file)
--- 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,4 @@ lint:
 bdd:
        cd test/bdd; behave -DREMOVE_TEMPLATE=1
 
-.PHONY: tests mypy pytest lint bdd build build-core build-db build-api
+.PHONY: tests mypy pytest lint bdd build clean-build build-db build-api