diff -pruN 0.16.40/blah.pl 0.16.41/blah.pl
--- 0.16.40/blah.pl	2025-09-27 01:38:41.000000000 +0000
+++ 0.16.41/blah.pl	2025-10-24 22:26:34.000000000 +0000
@@ -28,6 +28,17 @@ sub blah {
     print("MEOW!\n");
 }
 
-blah("libhugs-libfrankie-dev");
+sub blah1 {
+    my @links1;
+    my @links2 = split("\n", "a\nb");
+    if (@links1 == @links2) {
+	    print("YEP\n");
+    } else {
+	    print("NOPE\n");
+    }
+}
+
+#blah("libhugs-libfrankie-dev");
 #print(installable_config_shipper("doc"));
 #print("\n");
+blah1();
diff -pruN 0.16.40/debian/changelog 0.16.41/debian/changelog
--- 0.16.40/debian/changelog	2025-10-18 01:43:28.000000000 +0000
+++ 0.16.41/debian/changelog	2025-10-24 22:26:34.000000000 +0000
@@ -1,3 +1,9 @@
+haskell-devscripts (0.16.41) unstable; urgency=medium
+
+  * dh_haskell_recommends...: handle non-existent install dir
+
+ -- Scott Talbert <swt@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
diff -pruN 0.16.40/dh_haskell_recommends_documentation_references 0.16.41/dh_haskell_recommends_documentation_references
--- 0.16.40/dh_haskell_recommends_documentation_references	2025-10-18 01:41:07.000000000 +0000
+++ 0.16.41/dh_haskell_recommends_documentation_references	2025-10-24 22:26:34.000000000 +0000
@@ -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) {
