diff --git a/debian-devel/source/options b/debian-devel/source/options new file mode 100644 index 000000000..e327544d0 --- /dev/null +++ b/debian-devel/source/options @@ -0,0 +1,3 @@ +tar-ignore = ".git" +tar-ignore = "build" +tar-ignore = "release" diff --git a/debian-stable/source/options b/debian-stable/source/options new file mode 100644 index 000000000..e327544d0 --- /dev/null +++ b/debian-stable/source/options @@ -0,0 +1,3 @@ +tar-ignore = ".git" +tar-ignore = "build" +tar-ignore = "release" diff --git a/tools/build_debian.sh b/tools/build_debian.sh index 24e9e4ba7..31447f909 100755 --- a/tools/build_debian.sh +++ b/tools/build_debian.sh @@ -245,7 +245,7 @@ echo " - Updating changelog: ${DEB_NAME} ${DEB_VERSION} (${DCH_DISTRO}, ${DCH_UR DEBFULLNAME="${PACKAGER_NAME}" DEBEMAIL="${PACKAGER_EMAIL}" dch "${DCH_CREATE}" --package "${DEB_NAME}" --newversion "${DEB_VERSION}" --distribution "${DCH_DISTRO}" --urgency "${DCH_URGENCY}" "${DCH_CHANGELOG}" # build packages (without debug symbols) -DEB_BUILD_OPTIONS="noddebs" dpkg-buildpackage -us -uc --jobs="${JOBS}" --source-option="--tar-ignore=.git" --source-option="--tar-ignore=build*" +DEB_BUILD_OPTIONS="noddebs" dpkg-buildpackage -us -uc --jobs="${JOBS}" # all OK! echo " - Build OK [${DEB_NAME}-${DEB_VERSION}]"