Skip to content

Commit

Permalink
Fix installation path for manpages in FreeBSD (fix #3612)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Jan 29, 2024
1 parent adf8c71 commit 7984aaa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ IF(UNIX AND NOT WIN32 AND NOT APPLE)
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/stellarium.1
)

IF(${CMAKE_SYSTEM_NAME} MATCHES "(DragonFly|FreeBSD|NetBSD|OpenBSD)" AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD")
IF(${CMAKE_SYSTEM_NAME} MATCHES "(DragonFly|NetBSD|OpenBSD)")
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/stellarium.1 DESTINATION man/man1)
ELSE(${CMAKE_SYSTEM_NAME} MATCHES "(DragonFly|FreeBSD|NetBSD|OpenBSD)" AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD")
ELSE()
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/stellarium.1 DESTINATION share/man/man1)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "(DragonFly|FreeBSD|NetBSD|OpenBSD)" AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD")
ENDIF(UNIX AND NOT WIN32 AND NOT APPLE)
ENDIF()
ENDIF()


0 comments on commit 7984aaa

Please sign in to comment.