Skip to content

Commit

Permalink
Merge pull request #70 from sebastic/manpages-install
Browse files Browse the repository at this point in the history
Only install manpage directories, not CMake files.
  • Loading branch information
joto committed Aug 26, 2017
2 parents e9e8cd5 + 3a9ed23 commit e91610d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if(PANDOC)
add_man_page(5 osmium-file-formats)
add_man_page(5 osmium-index-types)

install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} DESTINATION share)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man1 ${CMAKE_CURRENT_BINARY_DIR}/man5 DESTINATION share/man)

add_custom_target(man ALL DEPENDS ${ALL_MAN_PAGES})
else()
Expand Down

0 comments on commit e91610d

Please sign in to comment.