Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/usr.bin/xlint/lint1 tests/lint: fix the hack for emit....
details: https://anonhg.NetBSD.org/src/rev/77b2a78ed257
branches: trunk
changeset: 961834:77b2a78ed257
user: rillig <rillig%NetBSD.org@localhost>
date: Wed Apr 21 13:26:16 2021 +0000
description:
tests/lint: fix the hack for emit.ln to also work if MKUPDATE != "no"
diffstat:
tests/usr.bin/xlint/lint1/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r db66e462cc77 -r 77b2a78ed257 tests/usr.bin/xlint/lint1/Makefile
--- a/tests/usr.bin/xlint/lint1/Makefile Wed Apr 21 13:12:42 2021 +0000
+++ b/tests/usr.bin/xlint/lint1/Makefile Wed Apr 21 13:26:16 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2021/04/20 23:30:35 rillig Exp $
+# $NetBSD: Makefile,v 1.49 2021/04/21 13:26:16 rillig Exp $
NOMAN= # defined
MAX_MESSAGE= 343 # see lint1/err.c
@@ -117,7 +117,11 @@
# depend in ${DESTDIR}/emit.c, but these files are not intended to depend on
# each other, they have these suffixes just for convenience and convention.
.if make(install)
+. if ${MKUPDATE} == "no" # see bsd.files.mk
${DESTDIR}${FILESDIR}/emit.ln! .PHONY
+. else
+${DESTDIR}${FILESDIR}/emit.ln: .PHONY
+. endif
.endif
# ----- end hack -----
Home |
Main Index |
Thread Index |
Old Index