[med-svn] [minimap] 02/03: fix header packaging

Sascha Steinbiss satta at debian.org
Sun Jul 31 17:36:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

satta pushed a commit to branch master
in repository minimap.

commit 75391291f0841e5bca8252f1ec50a0cd8104f5ab
Author: Sascha Steinbiss <satta at debian.org>
Date:   Sun Jul 31 17:29:46 2016 +0000

    fix header packaging
---
 debian/changelog       | 2 ++
 debian/rules           | 2 +-
 debian/tests/build-lib | 4 +++-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 61aa00c..0b5e8de 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 minimap (0.2-3) unstable; urgency=medium
 
+  * Add missing header files.
+  * Adjust autopkgtest to build example outside of upstream source.
   * Update uploader email.
   * Bump Standards-Version with no changes.
   * Use secure Vcs-Git.
diff --git a/debian/rules b/debian/rules
index 804ca64..4a435b5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,5 +8,5 @@ override_dh_auto_install:
 	d-shlibmove --commit \
                     --multiarch \
                     --devunversioned \
-                    --movedev "minimap.h" /usr/include/ \
+                    --movedev "*.h" /usr/include/minimap \
                     libminimap.so
diff --git a/debian/tests/build-lib b/debian/tests/build-lib
index dd307c3..0253f50 100755
--- a/debian/tests/build-lib
+++ b/debian/tests/build-lib
@@ -8,7 +8,9 @@ DATADIR=$(pwd)/debian/tests
 WORKDIR=$(mktemp -d)
 trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
 cd $WORKDIR
-gcc -O2 -o minimap-lite $SRC -lminimap -lz
+
+cp $SRC .
+gcc -O2 -o minimap-lite example.c -I/usr/include/minimap -lminimap -lz
 [ -x minimap-lite ]
 echo "build: OK"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/minimap.git



More information about the debian-med-commit mailing list