From a291bc2ac33fe8f13923c8f371a218ca9a6ab174 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 28 Sep 2012 16:36:19 +0000 Subject: make a separate tarball for debian/ and exclude it from the source tarball svn path=/trunk/; revision=16314 --- scripts/auto-build/auto-build-common | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts/auto-build/auto-build-common') diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common index fe05b017..0e413755 100644 --- a/scripts/auto-build/auto-build-common +++ b/scripts/auto-build/auto-build-common @@ -163,7 +163,13 @@ make_source_tarball() { rootdir=$1 tarballname=$2 + debian_tarballname=`echo $2 | sed 's|\.tar\.|.debian.tar.|'` - tar --directory $rootdir/.. --exclude-vcs --exclude=$tarballname \ + # make source tarball without debian/ + tar --directory $rootdir/.. \ + --exclude-vcs --exclude=$tarballname --exclude=debian \ -cjpf /tmp/$tarballname $(basename $1) + # make separate tarball of debian/ + tar --directory $rootdir --exclude-vcs \ + -cjpf /tmp/$debian_tarballname $(basename $1) } -- cgit v1.2.1