[Debian-ha-commits] [cluster-glue] 04/12: Use dh_missing for --fail-missing

Valentin Vidic vvidic-guest at moszumanska.debian.org
Thu Aug 24 19:30:30 UTC 2017


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

vvidic-guest pushed a commit to branch master
in repository cluster-glue.

commit da69842d55e1974cafcfb41ebd02560b8089bc03
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Wed Aug 16 21:38:12 2017 +0200

    Use dh_missing for --fail-missing
    
    Option --fail-missing will be removed from dh_install
    in debhelper v11.
---
 debian/rules | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 88de3eb..bc61ee1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,8 @@ override_dh_auto_install:
 
 DEB_HOST_ARCH_OS=$(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 ifeq (linux,$(DEB_HOST_ARCH_OS))
-FAIL_MISSING=--fail-missing
+override_dh_missing:
+	dh_missing --fail-missing
 endif
 override_dh_install:
 # we should probably use dh_install -X here, but it doesn't work
@@ -39,7 +40,7 @@ endif
 ifeq (kfreebsd,$(DEB_HOST_ARCH_OS))
 	sed -i -e '/systemd/d' debian/*.install
 endif
-	dh_install $(FAIL_MISSING)
+	dh_install
 
 override_dh_installinit:
 	dh_installinit --name=logd -pcluster-glue -u 'defaults 20 32'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/cluster-glue.git



More information about the Debian-HA-Commits mailing list