[cpp-log4shib] 07/15: Switch to Debhelper compat level 11

Scott Cantor cantor.2 at osu.edu
Tue Oct 19 16:14:51 UTC 2021


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

scantor pushed a commit to annotated tag debian/1.0.9-4
in repository cpp-log4shib.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-log4shib.git;a=commit;h=31367e57952d87e8d3632e2daae0ad1263116ad9

commit 31367e57952d87e8d3632e2daae0ad1263116ad9
Author: Ferenc Wágner <wferi at debian.org>
AuthorDate: Tue May 15 15:22:52 2018 +0200

    Switch to Debhelper compat level 11
---
 debian/compat  |  2 +-
 debian/control |  3 +--
 debian/rules   | 18 ++++++++++++------
 3 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/debian/compat b/debian/compat
index ec63514..b4de394 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+11
diff --git a/debian/control b/debian/control
index 39823cb..30fa11e 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,7 @@ Uploaders:
  Ferenc Wágner <wferi at niif.hu>,
  Etienne Dysli Metref <etienne.dysli-metref at switch.ch>,
 Build-Depends:
- debhelper (>= 9),
- dh-autoreconf,
+ debhelper (>= 11~),
  perl,
 Build-Depends-Indep:
  doxygen,
diff --git a/debian/rules b/debian/rules
index c678b40..195d6a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,9 @@ else
     DEBUG =
 endif
 
+%:
+	dh $@
+
 override_dh_auto_configure:
 	dh_auto_configure -- --disable-static $(DEBUG)
 
@@ -30,10 +33,13 @@ override_dh_install:
 	pod2man --release='$(word 3,$(shell ./config.status --version))' \
 	    --section=1 --center=log4shib \
 	    debian/log4shib-config.pod debian/log4shib-config.1
-	rm -f debian/tmp/usr/lib/*/liblog4shib.la
-	rm -rf debian/tmp/usr/share/man/man3
 	if [ -d $(APIDOCS) ]; then find $(APIDOCS) -name "*.md5" -delete; fi
-	dh_install --fail-missing
-
-%:
-	dh $@ --parallel --with autoreconf
+	dh_install
+
+override_dh_missing:
+	rm -vf debian/tmp/usr/lib/*/liblog4shib.la
+	# Many man pages are malformatted, and they're not horribly useful.
+	# We don't ship them, because the same information is available in the
+	# HTML documentation (3b6fa5e).
+	rm -rvf debian/tmp/usr/share/man/man3
+	dh_missing --fail-missing

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list