From f3b9c39580d52779ab143e69c6f0ffef7fee85b2 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 23 Jun 2010 21:42:08 +0000 Subject: [PATCH] Merge 1.3.6 671:672 into 1.4.2 and trunk --- cmake/CMakeLists_cpack.txt | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/cmake/CMakeLists_cpack.txt b/cmake/CMakeLists_cpack.txt index 2b09c0ff..56a1c43c 100644 --- a/cmake/CMakeLists_cpack.txt +++ b/cmake/CMakeLists_cpack.txt @@ -100,13 +100,35 @@ IF(WIN32) SET(CPACK_PACKAGE_EXECUTABLES qsynergy;Synergy+) ENDIF(WIN32) -# For source package, leave out temp and Mercurial stuff. +# files to exclude from src package (regex patterns) +# to escape, use 4 backslashes (\\\\) -- yuck! SET(CPACK_SOURCE_IGNORE_FILES - "/bin/" # Temp binary output dir. - "/.hg/" # Mercurial repo cache. - "/.hgignore" # Mercurial ignore list (not neede by end-user). - ".*~" # Emacs temporary files. - "/config.h$" # The config.h file should be generated. + # temp output dir in root + "/bin/" + + # generated config.h file + "/config\\\\.h$" + + # buildbot stuff + "\\\\.buildbot\\\\-sourcedata$" + + # qt temp build dir + "/gui/tmp/.*" + + # qt make file + "/gui/Makefile$" + + # qt generated ui headers + "/gui/ui_.*\\\\.h$" + + # compiled python files + ".*\\\\.pyc$" + + # subversion caches (all dirs) + ".*/\\\\.svn/.*" + + # emacs temporary files + ".*~$" ) # Must be last (since it relies of CPACK_ vars).