Module Name: src
Committed By: rillig
Date: Fri Aug 28 02:45:51 UTC 2020
Modified Files:
src/usr.bin/make/unit-tests: Makefile
Log Message:
make(1): disable the sync-mi convenience target
To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/usr.bin/make/unit-tests/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/unit-tests/Makefile
diff -u src/usr.bin/make/unit-tests/Makefile:1.120 src/usr.bin/make/unit-tests/Makefile:1.121
--- src/usr.bin/make/unit-tests/Makefile:1.120 Thu Aug 27 19:00:17 2020
+++ src/usr.bin/make/unit-tests/Makefile Fri Aug 28 02:45:51 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.120 2020/08/27 19:00:17 rillig Exp $
+# $NetBSD: Makefile,v 1.121 2020/08/28 02:45:51 rillig Exp $
#
# Unit tests for make(1)
#
@@ -466,6 +466,9 @@ SYNC_MI_AWK= \
$$1 == linestart "/Makefile" { system(cmd) }
sync-mi:
+ # Obsolete entries in the mi file must be marked as obsolete,
+ # the lines must be preserved instead of just being deleted.
+ @echo "$@: Doesn't work right now." 1>&2; exit 1
@set -eu; \
cd "${MAKEFILE:tA:H}/../../.."; \
mi="distrib/sets/lists/tests/mi"; \