Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat tools/compat: use autoreconf, support MAKEVERBOSE



details:   https://anonhg.NetBSD.org/src/rev/3be012de3759
branches:  trunk
changeset: 376070:3be012de3759
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue May 30 18:27:04 2023 +0000

description:
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.

diffstat:

 tools/compat/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r efb0540c7c4a -r 3be012de3759 tools/compat/Makefile
--- a/tools/compat/Makefile     Tue May 30 11:53:40 2023 +0000
+++ b/tools/compat/Makefile     Tue May 30 18:27:04 2023 +0000
@@ -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 :}



Home | Main Index | Thread Index | Old Index