mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
debian: exclude directories ".git", "build" and "release" from source package
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
tar-ignore = ".git"
|
||||
tar-ignore = "build"
|
||||
tar-ignore = "release"
|
||||
@@ -0,0 +1,3 @@
|
||||
tar-ignore = ".git"
|
||||
tar-ignore = "build"
|
||||
tar-ignore = "release"
|
||||
@@ -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}]"
|
||||
|
||||
Reference in New Issue
Block a user