summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-21 00:35:37 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-21 00:35:37 +0000
commitc2d43b7c3060acbf775e7505055379be6852141a (patch)
tree669c5030b010a6f4c993cf9cde5c1c8812a8fdea
parent1b01ff89a892df30494fa3d964c6b0acf179804a (diff)
Fix "make package_source" behavior.
-rw-r--r--muse2/CMakeLists.txt3
-rw-r--r--muse2/ChangeLog1
2 files changed, 4 insertions, 0 deletions
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)