Skip to content

Commit

Permalink
CMake: add gdalinfo bash-completion file to list of installed files
Browse files Browse the repository at this point in the history
or otherwise it would remain after an uninstall.
  • Loading branch information
Paul Pazderski committed Nov 13, 2023
1 parent f77e05d commit 8c2f18b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/install_bash_completions.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ set(INSTALL_DIR "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/@BASH_COMPLETIONS_DIR@")
file(MAKE_DIRECTORY "${INSTALL_DIR}")
message(STATUS "Installing ${INSTALL_DIR}/gdalinfo")
configure_file("@CMAKE_CURRENT_SOURCE_DIR@/gdal-bash-completion.sh" "${INSTALL_DIR}/gdalinfo" COPYONLY)
file(APPEND @PROJECT_BINARY_DIR@/install_manifest_extra.txt "${INSTALL_DIR}/gdalinfo\n")

foreach (program IN LISTS PROGRAMS)
message(STATUS "Installing ${INSTALL_DIR}/${program}")
Expand Down

0 comments on commit 8c2f18b

Please sign in to comment.