[Pkg-gdb-logs] [gdb] 01/01: debian/sanitize-gdb.sh: drop chm from doc tarball as well
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 15 15:20:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch master
in repository gdb.
commit f49e281a185afca263ebbc75046353f99d2eec68
Author: Héctor Orón Martínez <zumbi at debian.org>
Date: Thu Dec 15 16:15:49 2016 +0100
debian/sanitize-gdb.sh: drop chm from doc tarball as well
lintian complains *.chm files are included without sources
Signed-off-by: Héctor Orón Martínez <zumbi at debian.org>
---
debian/sanitize-gdb.sh | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/debian/sanitize-gdb.sh b/debian/sanitize-gdb.sh
index 065b235..9526678 100644
--- a/debian/sanitize-gdb.sh
+++ b/debian/sanitize-gdb.sh
@@ -29,6 +29,7 @@ cd ..
src=src/gdb-$version
dest=gdb-$debversion
+destdoc=gdb-doc-$debversion
if ! test -d "$src"; then
echo "Could not find source directory $src"
@@ -43,6 +44,8 @@ fi
src=`cd "$src" && pwd`
cp -a "$src" "$dest"
+cp -a "$src" "$destdoc"
+
pushd "$dest" > /dev/null
# All of the gdb manpages are GFDL'd now
@@ -70,14 +73,11 @@ popd > /dev/null
tar --auto-compress -cf "$dfsg" gdb-$debversion
-case "$tarball" in
- *.xz) cp "$tarball" "$doc" ;;
- *.bz2) bzcat "$tarball" | xz > "$doc" ;;
- *.gz) zcat "$tarball" | xz > "$doc" ;;
- *)
- echo "wtf is: $tarball"
- ;;
-esac
+pushd "$destdoc" > /dev/null
+rm -f $(find . \( -name \*.chm \))
+popd > /dev/null
+
+tar --auto-compress -cf "$doc" gdb-doc-$debversion
# XXX maybe we should install this as an exit handler?
cd "$olddir"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gdb/gdb.git
More information about the Pkg-gdb-logs
mailing list