Module Name:    src
Committed By:   lukem
Date:           Tue May 30 18:27:04 UTC 2023

Modified Files:
        src/tools/compat: Makefile

Log Message:
tools/compat: use autoreconf, support MAKEVERBOSE

Use autoreconf instead of autoconf + autoheader;
we'll need aclocal in the near future.

If MAKEVERBOSE >= 2, add -v to autoreconf.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/tools/compat/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/compat/Makefile
diff -u src/tools/compat/Makefile:1.91 src/tools/compat/Makefile:1.92
--- src/tools/compat/Makefile:1.91	Tue May 23 20:20:54 2023
+++ src/tools/compat/Makefile	Tue May 30 18:27:04 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.91 2023/05/23 20:20:54 lukem Exp $
+#	$NetBSD: Makefile,v 1.92 2023/05/30 18:27:04 lukem Exp $
 
 HOSTLIB=	nbcompat
 
@@ -166,7 +166,6 @@ INSTALL=	${INSTALL_OBJ}/xinstall
 # Run "${TOOLDIR}/bin/nbmake-${MACHINE} regen" by hand after editing
 # configure.ac.  See more detailed instructions in configure.ac.
 regen:
-	${_MKMSG_REGEN} configure
-	cd ${.CURDIR} && ${TOOLDIR}/bin/${_TOOL_PREFIX}autoconf
-	${_MKMSG_REGEN} nbtool_config.h.in
-	cd ${.CURDIR} && ${TOOLDIR}/bin/${_TOOL_PREFIX}autoheader
+	${_MKMSG_REGEN} configure nbtool_config.h.in
+	cd ${.CURDIR} && ${TOOLDIR}/bin/${_TOOL_PREFIX}autoreconf \
+		${${MAKEVERBOSE} >= 2 :? -v :}

Reply via email to