[Git][haskell-team/haskell-devscripts][master] 2 commits: dh_haskell_recommends...: handle non-existent install dir

Scott Talbert (@swt2c) gitlab at salsa.debian.org
Sun Oct 26 14:50:59 GMT 2025



Scott Talbert pushed to branch master at Debian Haskell Group / haskell-devscripts


Commits:
22d22ea0 by Scott Talbert at 2025-10-26T10:48:35-04:00
dh_haskell_recommends...: handle non-existent install dir

This can happen under dh-haskell if no docs have been installed as
dh_installdirs doesn't get run.

- - - - -
4deb58d9 by Scott Talbert at 2025-10-26T10:48:41-04:00
haskell-devscripts (0.16.41) unstable; urgency=medium

- - - - -


2 changed files:

- debian/changelog
- dh_haskell_recommends_documentation_references


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-devscripts (0.16.41) unstable; urgency=medium
+
+  * dh_haskell_recommends...: handle non-existent install dir
+
+ -- Scott Talbert <swt at techie.net>  Fri, 24 Oct 2025 18:26:34 -0400
+
 haskell-devscripts (0.16.40) unstable; urgency=medium
 
   * dh_haskell_provides_ghc: only operate on -dev and -prof packages


=====================================
dh_haskell_recommends_documentation_references
=====================================
@@ -56,12 +56,15 @@ for my $installable (@{ $dh{DOPACKAGES} }) {
 
     say encode_utf8(
         "Finding all links in the documentation in installable $installable.");
-    my @links =split(
-        m{\n}x,
-        run_quiet(
-            'find', "debian/$installable",
-            qw{-name *.html -exec hxwls -r \{\} ;}
-        ));
+    my @links;
+    if (-d "debian/$installable") {
+        @links = split(
+            m{\n}x,
+            run_quiet(
+                'find', "debian/$installable",
+                qw{-name *.html -exec hxwls -r \{\} ;}
+            ));
+    }
 
     my @files;
     for my $link (@links) {



View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/compare/0c687af7274010659ff63cd7f9203d784b146b8d...4deb58d9ca375e3c38250898bbd0b33f27791d9e

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/compare/0c687af7274010659ff63cd7f9203d784b146b8d...4deb58d9ca375e3c38250898bbd0b33f27791d9e
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/20251026/c3dc17b1/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list