From 096abe4908834d96a7225218c18d08425aa48b90 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 24 Jul 2022 16:24:37 +0200 Subject: Split bootstrap into autopull.sh and autogen.sh. * top/bootstrap-funclib.sh: New file, based on build-aux/bootstrap. * top/autopull.sh: New file, based on build-aux/bootstrap. * top/autogen.sh: New file, based on build-aux/bootstrap. * top/bootstrap: New file, based on build-aux/bootstrap. * top/gen-bootstrap.sed: New file. * Makefile (build-aux/bootstrap): New rule. (regen): Depend on it. * build-aux/bootstrap: Regenerated using "make build-aux/bootstrap". --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 85362c8c2c..2eaa15b6bb 100644 --- a/Makefile +++ b/Makefile @@ -142,7 +142,13 @@ sc_check_copyright: @./check-copyright # Regenerate some files that are stored in the repository. -regen: MODULES.html +regen: build-aux/bootstrap MODULES.html + +# build-aux/bootstrap needs to be regenerated from top/bootstrap*. +build-aux/bootstrap: top/gen-bootstrap.sed top/bootstrap top/bootstrap-funclib.sh + sed -f top/gen-bootstrap.sed < top/bootstrap > build-aux/bootstrap-tmp + chmod a+x build-aux/bootstrap-tmp + mv build-aux/bootstrap-tmp build-aux/bootstrap # MODULES.html is periodically being generated and copied to the web pages at # :ext:USER@cvs.savannah.gnu.org:/web/gnulib/gnulib/ -- cgit v1.2.1