mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
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.
This commit is contained in:
parent
c5e7098d0f
commit
a60da73585
1 changed files with 3 additions and 2 deletions
5
debian/autobake-deb.sh
vendored
5
debian/autobake-deb.sh
vendored
|
@ -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`
|
||||
|
||||
|
|
Loading…
Reference in a new issue