[glbinding] Remove files from package dir and debug dir

This commit is contained in:
Alexander Karatarakis 2016-11-29 13:14:56 -08:00
parent 7a2e6f614d
commit 7c08cf4347
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,3 @@
Source: glbinding Source: glbinding
Version: 2.1.1 Version: 2.1.1-1
Description: glbinding is an MIT licensed, cross-platform C++ binding for the OpenGL API Description: glbinding is an MIT licensed, cross-platform C++ binding for the OpenGL API

View File

@ -43,6 +43,16 @@ endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/cmake) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/cmake)
file(RENAME ${CURRENT_PACKAGES_DIR}/data ${CURRENT_PACKAGES_DIR}/share/data) file(RENAME ${CURRENT_PACKAGES_DIR}/data ${CURRENT_PACKAGES_DIR}/share/data)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/data) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/data)
file(REMOVE ${CURRENT_PACKAGES_DIR}/AUTHORS
${CURRENT_PACKAGES_DIR}/LICENSE
${CURRENT_PACKAGES_DIR}/README.md
${CURRENT_PACKAGES_DIR}/VERSION
${CURRENT_PACKAGES_DIR}/debug/AUTHORS
${CURRENT_PACKAGES_DIR}/debug/LICENSE
${CURRENT_PACKAGES_DIR}/debug/README.md
${CURRENT_PACKAGES_DIR}/debug/VERSION
)
# Handle copyright # Handle copyright
file(COPY ${CURRENT_BUILDTREES_DIR}/src/glbinding-2.1.1/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/glbinding) file(COPY ${CURRENT_BUILDTREES_DIR}/src/glbinding-2.1.1/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/glbinding)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/glbinding/LICENSE ${CURRENT_PACKAGES_DIR}/share/glbinding/copyright) file(RENAME ${CURRENT_PACKAGES_DIR}/share/glbinding/LICENSE ${CURRENT_PACKAGES_DIR}/share/glbinding/copyright)