Skip to content

Commit e2c32b1

Browse files
ekilmerlkorenc
authored andcommitted
Fix usage file
Previously, vcpkg would ignore it and just print the heuristically generated usage.
1 parent c7b613e commit e2c32b1

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

ports/gap/portfile.cmake

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ file(
3333
RENAME copyright
3434
)
3535

36-
if ( EXISTS "${CMAKE_CURRENT_LIST_DIR}/${lower_package}_usage" )
37-
file(
38-
INSTALL "${CMAKE_CURRENT_LIST_DIR}/${lower_package}_usage"
39-
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${lower_package}"
40-
RENAME usage
41-
)
42-
endif()
36+
file(
37+
INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage"
38+
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
39+
)
File renamed without changes.

ports/remill/portfile.cmake

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ file(
3131
RENAME copyright
3232
)
3333

34-
if ( EXISTS "${CMAKE_CURRENT_LIST_DIR}/${lower_package}_usage" )
35-
file(
36-
INSTALL "${CMAKE_CURRENT_LIST_DIR}/${lower_package}_usage"
37-
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${lower_package}"
38-
RENAME usage
39-
)
40-
endif()
34+
file(
35+
INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage"
36+
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
37+
)
File renamed without changes.

0 commit comments

Comments
 (0)