[apr-util] 01/09: Avoid empty build target

Stefan Fritsch sf at moszumanska.debian.org
Sun Feb 25 11:46:03 UTC 2018


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

sf pushed a commit to branch master
in repository apr-util.

commit c68e49b33669e61de3e0bfa0559944a6bc1be494
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sun Feb 25 10:20:15 2018 +0100

    Avoid empty build target
---
 debian/changelog | 7 +++++++
 debian/rules     | 5 +++++
 2 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 48620f2..1f25add 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+apr-util (1.6.1-2) UNRELEASED; urgency=medium
+
+  * Avoid empty build target, fixes FTBFS. Thanks to Niels Thykier for the
+    patch. Closes: #890108
+
+ -- Stefan Fritsch <sf at debian.org>  Sun, 25 Feb 2018 10:19:21 +0100
+
 apr-util (1.6.1-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/rules b/debian/rules
index 871244c..386921a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,11 @@ DB_VERSION = $(shell dpkg-query -W -f '$${Version}' libdb-dev | \
 # The 'build' target needs special handling because there there is a directory
 # named 'build'.
 .PHONY: build
+# The build target must not be empty.  Sadly because of how make
+# works, we have do duplicate the target in this case.
+build:
+	dh $@ -B$(BUILDDIR) --parallel --with autotools_dev
+
 %:
 	dh $@ -B$(BUILDDIR) --parallel --with autotools_dev
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apr-util.git



More information about the Pkg-apache-commits mailing list