Skip to content

Commit 7227fb9

Browse files
PatKaminbratpiorka
authored andcommitted
Move 3rd party programs license to a subdir
1 parent ca3645c commit 7227fb9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,8 +600,10 @@ endif()
600600
# Configure make install/uninstall and packages
601601
# --------------------------------------------------------------------------- #
602602
install(FILES ${CMAKE_SOURCE_DIR}/LICENSE.TXT
603-
${CMAKE_SOURCE_DIR}/third-party-programs.txt
604603
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/")
604+
install(
605+
FILES ${CMAKE_SOURCE_DIR}/licensing/third-party-programs.txt
606+
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/licensing/")
605607

606608
install(DIRECTORY examples DESTINATION "${CMAKE_INSTALL_DOCDIR}")
607609

File renamed without changes.

test/test_installation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ def _create_match_list(self) -> List[str]:
146146
examples.insert(0, "share/doc/umf/examples")
147147
share.extend(examples)
148148
share.append("share/doc/umf/LICENSE.TXT")
149-
share.append("share/doc/umf/third-party-programs.txt")
149+
share.append("share/doc/umf/licensing")
150+
share.append("share/doc/umf/licensing/third-party-programs.txt")
150151

151152
all_files = bin + include + lib + share
152153
if platform.system() == "Windows":

0 commit comments

Comments
 (0)