- couldn't find a reason why cpack puts some of the files from
authorJan Kupec <jkupec@suse.cz>
Wed, 15 Aug 2007 17:04:14 +0000 (17:04 +0000)
committerJan Kupec <jkupec@suse.cz>
Wed, 15 Aug 2007 17:04:14 +0000 (17:04 +0000)
  tests/repo subtree outside of the source tree, so i at least
  cleaned-up the CPACK_SOURCE_IGNORE_FILES.

CMakeLists.txt

index 1d24ca4..cc54c43 100644 (file)
@@ -49,16 +49,31 @@ SET( CPACK_SOURCE_PACKAGE_FILE_NAME "${PACKAGE}-${VERSION}" )
 # in absolute path + filename to find files or directories to be excluded
 # from source tarball.
 SET (CPACK_SOURCE_IGNORE_FILES
-#/CVS/;/\\.svn/;/\\.libs/;/\\.deps/;\\.swp$;/build/;\\.o$;\\.lo$;\\.la$;~$;\\\\.cvsignore$;Makefile\\\\.in$;
-/CVS/;/\\\\.svn/;/\\\\.libs/;/\\\\.deps/;\\\\.swp$;/build/;\\\\.o$;\\\\.lo$;\\\\.la$;~$
-)
-
-SET (CPACK_SOURCE_IGNORE_FILES ${CPACK_SOURCE_IGNORE_FILES}
-"/CVS/;/.libs/;/.deps/;/.git/;.swp$;.#;/#;/build/"
-"~$"
+#svn files
+"\\\\.svn/"
 "\\\\.cvsignore$"
+# temporary files
+"\\\\.swp$"
+# backup files
+"~$"
+# eclipse files
+"\\\\.cdtproject$"
+"\\\\.cproject$"
+"\\\\.project$"
+"\\\\.settings/"
+# others
+"\\\\.#"
+"/#"
+"/build/"
+"/\\\\.git/"
+# used before
+"/CVS/"
+"/\\\\.libs/"
+"/\\\\.deps/"
+"\\\\.o$"
+"\\\\.lo$"
+"\\\\.la$"
 "Makefile\\\\.in$"
-"\\\\.cdtproject$;\\\\.cproject$;\\\\.project$;/\\\\.settings/"
 )
 
 INCLUDE(CPack)