[pkg-bacula-commits] [bacula] 01/01: Fix FTBS for build-indep
Carsten Leonhardt
leo at moszumanska.debian.org
Thu Jan 19 10:01:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
leo pushed a commit to branch master
in repository bacula.
commit 93f57c641a91b935c9e71eb147ab6bd98d7e9cd7
Author: Carsten Leonhardt <leo at debian.org>
Date: Thu Jan 19 11:01:14 2017 +0100
Fix FTBS for build-indep
---
debian/changelog | 6 ++++++
debian/rules | 7 ++++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index cfd8cbe..ce8801d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+bacula (7.4.4+dfsg-5) unstable; urgency=medium
+
+ * Fix FTBS for build-indep
+
+ --
+
bacula (7.4.4+dfsg-4) unstable; urgency=medium
* Change build-depends to alternatively include libssl-dev (<< 1.1.0~)
diff --git a/debian/rules b/debian/rules
index 3b1031d..8863f3f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -130,10 +130,11 @@ ifeq ($(HAVE_SYSTEMD),1)
install -m 644 platforms/systemd/bacula-dir.service -D debian/bacula-director/lib/systemd/system/bacula-director.service
endif
-# the monitoring plugin in the examples needs to be cleaned, otherwise
-# builds will not be reproducible
override_dh_installexamples:
- make -C examples/nagios/check_bacula libtool-clean distclean
+# The monitoring plugin in the examples needs to be cleaned, otherwise
+# builds will not be reproducible. But only if the makefile exists,
+# which it doesn't if we only build-indep.
+ @[ -f examples/nagios/check_bacula/Makefile ] && make -C examples/nagios/check_bacula libtool-clean distclean || true
dh_installexamples
override_dh_installdocs:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bacula/bacula.git
More information about the pkg-bacula-commits
mailing list