[Git][haskell-team/DHG_packages][experimental] ghc: Fix pattern matching rule for third-party library docs
Ilias Tsitsimpis (@iliastsi)
gitlab at salsa.debian.org
Tue Nov 14 19:11:28 GMT 2023
Ilias Tsitsimpis pushed to branch experimental at Debian Haskell Group / DHG_packages
Commits:
452b653e by Ilias Tsitsimpis at 2023-11-14T21:10:46+02:00
ghc: Fix pattern matching rule for third-party library docs
abs_path() removes the trailing slash, so we have to adjust our pattern
matching rule.
- - - - -
1 changed file:
- p/ghc/debian/gen_contents_index
Changes:
=====================================
p/ghc/debian/gen_contents_index
=====================================
@@ -48,7 +48,7 @@ sub process {
return undef if (exists $$pkgs{$p});
if ($$dat{html} =~ m,^/usr/share/doc/ghc-doc/html/libraries/(.*),) {
$path = $1;
- } elsif ($$dat{html} =~ m,^/usr/share/doc/([^/]*-doc/html/.*),) {
+ } elsif ($$dat{html} =~ m,^/usr/share/doc/([^/]*-doc/html.*),) {
$path = "../../../$1";
}
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/452b653ec76197a84b6b122f8920e64417a5269d
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/452b653ec76197a84b6b122f8920e64417a5269d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20231114/938fe820/attachment.htm>
More information about the Pkg-haskell-commits
mailing list