[openal-soft] 01/02: Add an explicit 'build' rule

Simon McVittie smcv at debian.org
Mon Jan 22 08:51:36 UTC 2018


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

smcv pushed a commit to annotated tag debian/1%1.18.2-2
in repository openal-soft.

commit a12165566d65b15016677116d93db548861b5479
Author: Simon McVittie <smcv at debian.org>
Date:   Mon Jan 22 07:57:41 2018 +0000

    Add an explicit 'build' rule
    
    .PHONY is ignored for implicit rules like the one for %, but this
    was previously masked by debhelper bug #880840, which resulted in the
    actual build being done during the binary target. This fixes FTBFS with
    dpkg-buildpackage --build=any,all.
    
    Closes: #887664
---
 debian/changelog | 10 ++++++++++
 debian/rules     |  4 ++++
 2 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 36152a9..a0b7fe6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+openal-soft (1:1.18.2-2) UNRELEASED; urgency=medium
+
+  * d/rules: Add an explicit 'build' rule. .PHONY is ignored for implicit
+    rules like the one for %, but this was previously masked by debhelper
+    bug #880840, which resulted in the actual build being done during the
+    binary target. This fixes FTBFS with dpkg-buildpackage --build=any,all
+    (Closes: #887664)
+
+ -- Simon McVittie <smcv at debian.org>  Mon, 22 Jan 2018 07:54:44 +0000
+
 openal-soft (1:1.18.2-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 8830dff..db59fa2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,10 @@ endif
 DLOPENED_SUGGESTS_LIBS = -lportaudio -lsndio
 
 .PHONY: build
+# This looks redundant with the implicit rule for %, but it isn't: .PHONY
+# is ignored for implicit rules, so we need a separate rule for build.
+build:
+	dh $@ --builddirectory=$(BUILD_TREE)
 %:
 	dh $@ --builddirectory=$(BUILD_TREE)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openal-soft.git



More information about the Pkg-games-commits mailing list