diff options
-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` |