From d733559ad93681d87367fa5872962f2e2f17aeb1 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sat, 8 Oct 2022 15:56:39 +0000 Subject: dh_installexamples: Explicit recommend `examples/*` over `examples` Closes: #1000384 Signed-off-by: Niels Thykier --- debian/changelog | 4 ++++ dh_installexamples | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index 4c5b0e05..cbb69b58 100644 --- a/debian/changelog +++ b/debian/changelog @@ -62,6 +62,10 @@ debhelper (13.10) UNRELEASED; urgency=medium installed. Third-party tools should use the `--on-behalf-of-cmd` to have their tool name recorded. (Closes: #972724) + * dh_installexamples: Explicitly recommend `examples/*` over + `examples` as content for the `debian/.examples` file + to avoid the triggering `.../examples/examples` case. + (Closes: #1000384) [ Translations ] * Update Portuguese translation (Américo Monteiro) diff --git a/dh_installexamples b/dh_installexamples index f0c0b4fb..ce970ac8 100755 --- a/dh_installexamples +++ b/dh_installexamples @@ -36,6 +36,10 @@ directory (or wherever you've told it to look using B<--sourcedir>). Lists example files or directories to be installed. +If upstream provides an F directory, you will often want to use B rather +than B in this file. The latter would create +F<< /usr/share/doc/I/examples/examples >>, which is rarely what you want. + Supports substitution variables in compat 13 and later as documented in L. -- cgit v1.2.3