[Pkg-voip-commits] [pjproject] 15/42: rules: 'build' not cnfused by directory 'build'
tzafrir at debian.org
tzafrir at debian.org
Sat Nov 1 17:13:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master-2.3
in repository pjproject.
commit 4fbdae8db00c29f96a1a6c29e0a71cb22125e7cc
Author: Tzafrir Cohen <tzafrir at debian.org>
Date: Thu Oct 30 09:35:38 2014 +0200
rules: 'build' not cnfused by directory 'build'
'./debian/rules build' would get confused by the directory build/ in the
build tree.
This is a non-elegant workaround.
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index dd8cd0d..8307ec0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,8 +5,13 @@ export CFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS; dpkg-buildflags --get CFL
#CXXFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS; dpkg-buildflags --get CXXFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+# FIXME: the explicit and duplicate 'build' target is because of the
+# existing directory 'build'. .PHONY doesn't seem to be good enough with
+# the wildcard target. Any better way?
%:
dh $@ --with autotools_dev,python2
+build:
+ dh $@ --with autotools_dev,python2
# In case it would be needed:
#override_dh_autoreconf:
@@ -36,3 +41,4 @@ override_dh_auto_install:
dh_auto_install
cd pjsip-apps/src/python && python setup.py install
+.PHONY: build
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/pjproject.git
More information about the Pkg-voip-commits
mailing list