* gnulib-tool (func_emit_tests_Makefile_am): Replace lines that start
with @NMD@ or @!NMD@ instead of lines that contain them.
+2024-03-10 Collin Funk <collin.funk1@gmail.com>
+
+ gnulib-tool: Don't remove comments referencing @NMD@, part 2.
+ * gnulib-tool (func_emit_tests_Makefile_am): Replace lines that start
+ with @NMD@ or @!NMD@ instead of lines that contain them.
+
2024-03-08 Collin Funk <collin.funk1@gmail.com>
gnulib-tool: Don't remove comments referencing @NMD@.
fi
# Replace NMD, so as to remove redundant "$(MKDIR_P) '.'" invocations.
# The logic is similar to how we define gl_source_base_prefix.
- sed_eliminate_NMD='/@NMD@/d;s/@!NMD@//'
+ sed_eliminate_NMD='/^@NMD@/d;s/^@!NMD@//'
if $for_test; then
# When creating a package for testing: Attempt to provoke failures,
# especially link errors, already during "make" rather than during