[oggvideotools] 02/02: Correct build rules, ensure binaries are available before testing them.

Petter Reinholdtsen pere at moszumanska.debian.org
Tue Sep 22 07:05:23 UTC 2015


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

pere pushed a commit to branch master
in repository oggvideotools.

commit 3aa20ad0011c689ed7ba3b4973e236edab242dae
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Tue Sep 22 09:05:01 2015 +0200

    Correct build rules, ensure binaries are available before testing them.
    
    Gbp-Dch: Ignore
---
 debian/rules | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index c01734b..1f3459e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,14 +45,20 @@ binary: binary-arch
 
 binary-indep:
 
-binary-arch: DH_OPTIONS = -a
-binary-arch: check
+install:
 	dh_testdir
 	dh_testroot
 	dh_install $(objdir)/src/ogg* scripts/mkThumbs usr/bin
 	dh_installman docs/*.1
 	dh_installdocs
 	dh_installchangelogs
+
+# Run our test suite until the upstream source get one
+check:
+	PATH=`pwd`/debian/oggvideotools/usr/bin:$$PATH ./debian/tests/test-oggjoin
+
+binary-arch: DH_OPTIONS = -a
+binary-arch: install check
 	dh_strip --dbg-package=oggvideotools-dbg
 	dh_compress
 	dh_fixperms
@@ -62,8 +68,4 @@ binary-arch: check
 	dh_md5sums
 	dh_builddeb
 
-# Run our test suite until the upstream source get one
-check:
-	PATH=`pwd`/debian/oggvideotools/usr/bin:$$PATH ./debian/tests/test-oggjoin
-
 .PHONY: clean build build-arch build-indep binary binary-arch binary-indep

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xiph/oggvideotools.git



More information about the pkg-xiph-commits mailing list