Module Name:    src
Committed By:   rillig
Date:           Sun Jan 24 16:22:55 UTC 2021

Modified Files:
        src/tools/lint: Makefile

Log Message:
lint: fix path to installed stdbool.h for strict bool mode


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tools/lint/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/lint/Makefile
diff -u src/tools/lint/Makefile:1.5 src/tools/lint/Makefile:1.6
--- src/tools/lint/Makefile:1.5	Sun Jan 24 15:43:09 2021
+++ src/tools/lint/Makefile	Sun Jan 24 16:22:55 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2021/01/24 15:43:09 christos Exp $
+#	$NetBSD: Makefile,v 1.6 2021/01/24 16:22:55 rillig Exp $
 
 HOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-lint
 HOST_SRCDIR=	usr.bin/xlint/xlint
@@ -11,9 +11,9 @@ HOST_CPPFLAGS=	-DPATH_LIBEXEC=\"${TOOLDI
 
 STDBOOL_H=${NETBSDSRCDIR}/${HOST_SRCDIR}/strict-bool-stdbool.h
 
-install: ${TOOLDIR}/libdata/lint/stdbool.h
+install: ${TOOLDIR}/libdata/lint/strict-bool/stdbool.h
 
-${TOOLDIR}/libdata/lint/stdbool.h:: ${STDBOOL_H}
+${TOOLDIR}/libdata/lint/strict-bool/stdbool.h:: ${STDBOOL_H}
 	${_MKTARGET_INSTALL}
-	mkdir -p ${TOOLDIR}/libdata/lint
+	mkdir -p ${.TARGET:H}
 	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${STDBOOL_H} ${.TARGET}

Reply via email to