diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-12-24 18:41:38 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-12-24 18:41:38 +0100 |
commit | 5ccb0c23f905b7af0a9c66e3c58b0358663005b4 (patch) | |
tree | 254edc8971d468115dbb7b5f172dd8e91180a257 | |
parent | 31881ebacfeca4da89f6d8138e7118d0d0daba49 (diff) | |
download | weechat-5ccb0c23f905b7af0a9c66e3c58b0358663005b4.zip |
debian: exclude directories ".git", "build" and "release" from source package
-rw-r--r-- | debian-devel/source/options | 3 | ||||
-rw-r--r-- | debian-stable/source/options | 3 | ||||
-rwxr-xr-x | tools/build_debian.sh | 2 |
3 files changed, 7 insertions, 1 deletions
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}]" |