Hi, On Sat, 25 Aug 2018, Sean Whitton wrote: > Urrrrrgh. > > I am reluctantly (yet gratefully!) working on implementing Ian's > substvar hack.
Or you could have read dh_linktree's manual page and see that you can use "replace" instead of "deduplicate" to get a weak dependency. $ git diff diff --git a/debian/debian-policy-ja.linktrees b/debian/debian-policy-ja.linktrees index bb8ef9b..74aef4c 100644 --- a/debian/debian-policy-ja.linktrees +++ b/debian/debian-policy-ja.linktrees @@ -1 +1 @@ -deduplicate /usr/share/javascript/sphinxdoc/1.0/ usr/share/doc/debian-policy/ja/policy.html/_static/ +replace /usr/share/javascript/sphinxdoc/1.0/ usr/share/doc/debian-policy/ja/policy.html/_static/ diff --git a/debian/debian-policy.linktrees b/debian/debian-policy.linktrees index 88fadfd..ea76805 100644 --- a/debian/debian-policy.linktrees +++ b/debian/debian-policy.linktrees @@ -1 +1 @@ -deduplicate /usr/share/javascript/sphinxdoc/1.0/ usr/share/doc/debian-policy/policy.html/_static/ +replace /usr/share/javascript/sphinxdoc/1.0/ usr/share/doc/debian-policy/policy.html/_static/ Cheers, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: https://www.freexian.com/services/debian-lts.html Learn to master Debian: https://debian-handbook.info/get/
signature.asc
Description: PGP signature