From cdf6c87bb8c59545321f8a4dc468a33bceb12935 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Fri, 25 May 2012 12:50:21 -0400 Subject: [PATCH] Exclude things during .deb packaging correctly, so that we don't have a bunch of build detritus left over. FPM still leaves the empty directories, unfortunately --- rakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rakefile b/rakefile index cf0965d497..fc09d6403c 100644 --- a/rakefile +++ b/rakefile @@ -96,11 +96,11 @@ task :package do "--verbose", "--after-install=#{postinstall.path}", "--prefix=#{INSTALL_DIR_PATH}", - "--exclude=build/**", - "--exclude=rakefile", - "--exclude=.git/**", + "--exclude=**/build/**", + "--exclude=**/rakefile", + "--exclude=**/.git/**", "--exclude=**/*.pyc", - "--exclude=reports/**", + "--exclude=**/reports/**", "-C", "#{REPO_ROOT}", "--provides=#{PACKAGE_NAME}", "--name=#{NORMALIZED_DEPLOY_NAME}",