[apr-util] 03/07: Special case 'build' target

Stefan Fritsch sf at moszumanska.debian.org
Sun Nov 24 13:34:56 UTC 2013


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

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

commit 3a0b2dd9cea68da2fe6d6de586b4794d7465db78
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sun Nov 24 14:08:41 2013 +0100

    Special case 'build' target
    
    required because there is a directory 'build'
---
 debian/rules | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 3836f71..bc06c75 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,10 @@ DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 DB_VERSION = $(shell dpkg-query -W -f '$${Version}' libdb-dev | \
 	       perl -pe 's/^(?:[^:]*:)?(\d+)[.](\d+)[.].*/$$1$$2/')
 
-%:
+# The 'build' target needs special handling because there there is a directory
+# named 'build'.
+.PHONY: build
+build %:
 	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