Commit f93fcc152b for perl
commit f93fcc152ba07edefad04d1fe8b60bbde2fc35e0
Author: Karl Williamson <khw@cpan.org>
Date: Wed Nov 18 10:39:12 2026 -0700
makedependfile.SH: Add commented out debugging lines
diff --git a/makedependfile.SH b/makedependfile.SH
index f2257ee58a..891aaddf93 100644
--- a/makedependfile.SH
+++ b/makedependfile.SH
@@ -189,6 +189,11 @@ $echo "Finding dependencies for $filebase$_o"
-e '# of the lines joined with their continuations' \
-e 's/\\\n//g' \
\
+ -e '# For debugging: uncomment the following line and the cp at' \
+ -e '# the end of this sed. This line turns normally deleted lines' \
+ -e '# into comments so that context is retained' \
+ -e '#/^[ ]*#/!s:^://:p' \
+ \
-e '# We only output preprocessor control lines; now that the' \
-e '# current line has no continuations or multi-line comments,' \
-e '# we know enough to skip non-preprocessor lines' \
@@ -238,6 +243,8 @@ $echo "Finding dependencies for $filebase$_o"
-e '}' \
) >UU/$file.c
+#cp UU/$file.c $file.i # For debugging, to see what the result is of sed
+
# Some files include this header, which may not be present on this system.
# Some preprocessors abort at the point an #included file isn't found, giving
# incomplete results. Make sure a file with this name does exist. The cpp