diff options
author | Otto Kekäläinen <otto@seravo.fi> | 2015-07-22 13:45:43 +0300 |
---|---|---|
committer | Otto Kekäläinen <otto@seravo.fi> | 2015-07-22 13:45:43 +0300 |
commit | 5a3d75220994ca4c54ecb1283f24a30c37b7a63b (patch) | |
tree | 897bf5ab79c8c9248661573ad99cd62929db3765 /debian/autobake-deb.sh | |
parent | 220b4f2fc2545b7f8448485324db623aff54fee0 (diff) | |
download | mariadb-git-5a3d75220994ca4c54ecb1283f24a30c37b7a63b.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/autobake-deb.sh')
-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 a716b1ad33d..65f227e2cf0 100755 --- a/debian/autobake-deb.sh +++ b/debian/autobake-deb.sh @@ -54,8 +54,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` |