From: Jan Kupec Date: Wed, 15 Aug 2007 17:04:14 +0000 (+0000) Subject: - couldn't find a reason why cpack puts some of the files from X-Git-Tag: BASE-SuSE-Linux-10_3-Branch~281 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibzypp.git;a=commitdiff_plain;h=a3aa0cc018cf5df1ffbd7dd1fe906eeab0c648dc - couldn't find a reason why cpack puts some of the files from tests/repo subtree outside of the source tree, so i at least cleaned-up the CPACK_SOURCE_IGNORE_FILES. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d24ca4..cc54c43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)