[Reproducible-commits] [debhelper] 08/24: dh_strip: Create ddebs with symlink'ed docs
Mattia Rizzolo
mattia at mapreri.org
Wed May 20 00:50:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
mapreri-guest pushed a commit to branch pu/reproducible_builds
in repository debhelper.
commit 37208716c40f2d4e510750d2200b85b49bdee744
Author: Niels Thykier <niels at thykier.net>
Date: Wed May 13 17:57:39 2015 +0200
dh_strip: Create ddebs with symlink'ed docs
Signed-off-by: Niels Thykier <niels at thykier.net>
---
dh_strip | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dh_strip b/dh_strip
index 3eebee8..2cdd346 100755
--- a/dh_strip
+++ b/dh_strip
@@ -254,6 +254,14 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
doit($strip, @opts, $_);
}
}
+ if ($use_build_id > 1 and -d $debugtmp) {
+ my $ddeb_docdir = "${debugtmp}/usr/share/doc";
+ my $doc_symlink = "${ddeb_docdir}/${package}-dbgsym";
+ if ( not -l $doc_symlink and not -e $doc_symlink ) {
+ install_dir($ddeb_docdir) if not -d $ddeb_docdir;
+ doit('ln', '-s', $package, $doc_symlink);
+ }
+ }
}
=head1 SEE ALSO
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git
More information about the Reproducible-commits
mailing list