From 307194e33ae1856238c94a07818d9dfd4712f52f Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 23 Oct 2000 22:36:18 +0000 Subject: r378: * dh_movefiles: fixed a regexp quoting problem with --sourcedir. Closes: #75434 * Whoops, I think I overwrote bod's NMU with 2.2.15. Let's merge those in: . debhelper (2.1.14-0.1) unstable; urgency=low . * Non-maintainer upload (thanks Joey). * dh_installchangelogs, dh_installdocs: allow dangling symlinks for $TMP/usr/share/doc/$PACKAGE (useful for multi-binary packages). Closes: #53381 . -- Brendan O'Dea Fri, 20 Oct 2000 18:11:59 +1100 . I also added some documentation to debhelper.1 about this, and removed the TODO entry about it. --- dh_installchangelogs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dh_installchangelogs') diff --git a/dh_installchangelogs b/dh_installchangelogs index 89b6ff6b..e14eba68 100755 --- a/dh_installchangelogs +++ b/dh_installchangelogs @@ -36,6 +36,11 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { } if (! -d "$TMP/usr/share/doc/$PACKAGE") { + # If it is a dangling symlink, then don't do anything. + # Think multi-binary packages that depend on each other and + # want to link doc dirs. + next if -l "$TMP/usr/share/doc/$PACKAGE"; + doit("install","-d","$TMP/usr/share/doc/$PACKAGE"); } doit("install","-o",0,"-g",0,"-p","-m644",$changelog, -- cgit v1.2.3