retitle 679864 leaves behind unnecessary empty folders when using dh_installdocs --link-doc severity 679864 minor reassign 679864 debhelper 9
relevant part of dh_installdocs: foreach my $package (@{$dh{DOPACKAGES}}) { next if is_udeb($package); my $tmp=tmpdir($package); my $file=pkgfile($package,"docs"); my $link_doc=($dh{LINK_DOC} && $dh{LINK_DOC} ne $package); if ($link_doc) { # Make sure that the parent directory exists. if (! -d "$tmp/usr/share/doc" && ! -l "$tmp/usr/share/doc") { doit("install","-g",0,"-o",0,"-d","$tmp/usr/share/doc"); } # Create symlink to another documentation directory if # necessary. if (! -d "$tmp/usr/share/doc/$package" && ! -l "$tmp/usr/share/doc/$package") { doit("ln", "-sf", $dh{LINK_DOC}, "$tmp/usr/share/doc/$package"); # Policy says that if you make your documentation # directory a symlink, then you have to depend on # the target. addsubstvar($package, "misc:Depends", $dh{LINK_DOC}); } } else { ensure_docdir($package); } -- -Shawn Landden -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org