diff options
author | Otto Kekäläinen <otto@seravo.fi> | 2015-07-22 13:45:43 +0300 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-12-11 15:29:02 +0100 |
commit | a60da7358594631872c40d0ea3a8558f9c755e52 (patch) | |
tree | cabf3a7c8b4ac95151f714b9d73cd84d2e02144a /debian | |
parent | c5e7098d0f193726e74ea681dc05385bd82d401f (diff) | |
download | mariadb-git-a60da7358594631872c40d0ea3a8558f9c755e52.tar.gz |
Make autobake-deb.sh to omit .git directory from source tar.gz
This is useful for developers who run autobake-deb.sh directly
from the source tree as the resulting source tar package will be
90% smaller and all operations regarding it consequently 10x faster.
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/autobake-deb.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/autobake-deb.sh b/debian/autobake-deb.sh index e263feaef10..bb14057b43b 100755 --- a/debian/autobake-deb.sh +++ b/debian/autobake-deb.sh @@ -77,8 +77,9 @@ dch -b -D ${CODENAME} -v "${UPSTREAM}${PATCHLEVEL}-${RELEASE_NAME}${RELEASE_EXTR echo "Creating package version ${UPSTREAM}${PATCHLEVEL}-${RELEASE_NAME}${RELEASE_EXTRA:+-${RELEASE_EXTRA}}1~${CODENAME} ... " # Build the package. -# -fakeroot dpkg-buildpackage -us -uc +# Pass -I so that .git and other unnecessary temporary and source control files +# will be ignored by dpkg-source when createing the tar.gz source package +fakeroot dpkg-buildpackage -us -uc -I [ -e debian/autorm-file ] && rm -vf `cat debian/autorm-file` |