* Add Makefile.regen to regenerate configure from configure.ac;

* Add comments in configure.ac to explain how to regenerate configure.
This commit is contained in:
apb 2007-10-14 20:25:35 +00:00
parent d15c1edea0
commit 4d49fce1d6
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,8 @@
# $NetBSD: Makefile.regen,v 1.1 2007/10/14 20:25:35 apb Exp $
.include "bsd.own.mk"
# Run "${TOOLDIR}/bin/nbmake-${MACHINE} -f Makefile.regen" by hand after
# editing configure.ac. See more detailed instructions in configure.ac.
regen:
cd ${.CURDIR} && ${TOOLDIR}/bin/${_TOOL_PREFIX}autoconf

View File

@ -1,7 +1,26 @@
# $NetBSD: configure.ac,v 1.7 2006/10/09 20:51:05 apb Exp $
# $NetBSD: configure.ac,v 1.8 2007/10/14 20:25:35 apb Exp $
#
# Autoconf definition file for make.
#
# When you edit configure.ac:
# 0. Create the tools version of autoconf:
# cd ${SRCDIR} && build.sh -V MKMAINTAINERTOOLS=yes tools
# (This might not work if you try it after editing configure.ac.)
# 1. edit configure.ac
# 2. Regenerate "configure" from "configure.ac":
# cd ${SRCDIR}/tools/make && \
# ${TOOLDIR}/bin/nbmake-${MACHINE} -f Makefile.regen
# (Please don't use a non-tools version of autoconf).
# 3. Test that nbmake still builds
# mv ${TOOLDIR}/nbmake ${TOOLDIR}/bin/nbmake.bak
# cd ${SRCDIR} && build.sh makewrapper
# 4. cvs commit files that you edited.
# 5. Regen again, to pick up changed RCS IDs from the above commit:
# cd ${SRCDIR}/tools/make && \
# ${TOOLDIR}/bin/nbmake-${MACHINE} -f Makefile.regen
# 6. cvs commit files that were generated.
#
#
AC_INIT([make], [noversion], [bin-bug-people@NetBSD.org])
AC_CONFIG_FILES(buildmake.sh)