lint: only generate err-msgs.h in debug mode

This commit is contained in:
rillig 2023-07-29 10:34:24 +00:00
parent d9ed82fb00
commit 3ee824ccf4
2 changed files with 2 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.100 2023/07/21 15:00:32 lukem Exp $
# $NetBSD: Makefile,v 1.101 2023/07/29 10:34:24 rillig Exp $
.include <bsd.own.mk>
@ -91,9 +91,6 @@ CLEANFILES+= err-msgs.h
DPSRCS+= err-msgs.h
CPPFLAGS+= -I.
externs1.h: err-msgs.h
${SRCS:Nerr.c}: err-msgs.h
add-test: .PHONY
@set -eu; \
test=${NAME:Q}; \

View File

@ -1,4 +1,4 @@
/* $NetBSD: lint1.h,v 1.196 2023/07/28 21:50:03 rillig Exp $ */
/* $NetBSD: lint1.h,v 1.197 2023/07/29 10:34:24 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@ -33,7 +33,6 @@
*/
#include "lint.h"
#include "err-msgs.h"
#include "op.h"
/*