From c2d43b7c3060acbf775e7505055379be6852141a Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Tue, 21 Dec 2010 00:35:37 +0000 Subject: Fix "make package_source" behavior. --- muse2/CMakeLists.txt | 3 +++ muse2/ChangeLog | 1 + 2 files changed, 4 insertions(+) (limited to 'muse2') diff --git a/muse2/CMakeLists.txt b/muse2/CMakeLists.txt index 0457bf26..a7d86d17 100644 --- a/muse2/CMakeLists.txt +++ b/muse2/CMakeLists.txt @@ -337,6 +337,9 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${MusE_INSTALL_NAME}") + # Don't pack the binary tree and the subversion directories + SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.svn/;${CMAKE_BINARY_DIR}/*") + SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME}) SET(CPACK_PACKAGE_FILE_NAME "${CPACK_SOURCE_PACKAGE_FILE_NAME}-${CPACK_SYSTEM_NAME}") diff --git a/muse2/ChangeLog b/muse2/ChangeLog index 8ffcb618..3829d6c4 100644 --- a/muse2/ChangeLog +++ b/muse2/ChangeLog @@ -3,6 +3,7 @@ - To open help pages, use the default browser of the system via QDeskopServices. Removed the configuration option to select the browser. (Orcan) - Added some groupboxes and layouts to Global Settings to make it look more uniform. (Orcan) + - Don't pack the binary and subversion directories when doing "make package_source". (Orcan) 19.12.2010: - Fixed not saving part colours and part canvas background appearance settings. (Tim) *Feature: Added 'global opaqueness' (transparency) appearance setting. (Tim) -- cgit v1.2.3