Skip to content

Commit fbb2d72

Browse files
committed
Also install osm2pgsql-gen on make install
1 parent 973abc4 commit fbb2d72

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ if (ENABLE_INSTALL)
330330
install(FILES default.style empty.style DESTINATION share/osm2pgsql)
331331
install(PROGRAMS scripts/osm2pgsql-replication DESTINATION bin)
332332
if (BUILD_GEN)
333-
install(TARGETS osm2pgsql-gen COMPONENT gen EXCLUDE_FROM_ALL DESTINATION bin)
334-
add_custom_target(install-gen cmake --install ${CMAKE_BINARY_DIR} --component gen)
333+
install(TARGETS osm2pgsql-gen DESTINATION bin)
335334
endif()
336335
endif()

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,6 @@ The compiled files can be installed with
150150
sudo make install
151151
```
152152

153-
To install the experimental `osm2pgsql-gen` binary use
154-
155-
```sh
156-
sudo make install-gen
157-
```
158-
159153
By default, the Release build with debug info is created and no tests are
160154
compiled. You can change that behavior by using additional options like
161155
following:

man/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ if(ENABLE_INSTALL)
6565
install(FILES osm2pgsql.1 DESTINATION share/man/man1)
6666
install(FILES osm2pgsql-replication.1 DESTINATION share/man/man1)
6767
if (BUILD_GEN)
68-
install(FILES osm2pgsql-gen.1 COMPONENT gen EXCLUDE_FROM_ALL DESTINATION share/man/man1)
68+
install(FILES osm2pgsql-gen.1 DESTINATION share/man/man1)
6969
endif()
7070
endif()

0 commit comments

Comments
 (0)