Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a globale configure and Makefile to the project and pulls in osm2pgsql as a submodule. This removes the need to build all parts of Nominatim separately. Building Nominatim becomes as simple as:
The
--recursive
is important to get the submodule code.--enable-64bit-ids
is optional and will build an osm2pgsql that uses bigint for OSM ids.submodules are a bit of a pain to handle in git but the solution has the advantage that users are forced to a) build osm2pgsql from the source and b) use the correct version. And the configure can be used as is for a release that comes with osm2pgsql bundled.
This has only been tested on Debian Testing, so I'd appreciate if I could get feedback for other distros before merging.