summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-07-24 16:24:37 +0200
committerBruno Haible <bruno@clisp.org>2022-07-24 17:44:38 +0200
commit096abe4908834d96a7225218c18d08425aa48b90 (patch)
tree2bed2624a5c50ecb4176eb8d9d256a06a2386908 /Makefile
parent2122284380cc0d1b3b6f11d92c04652616da79c7 (diff)
downloadgnulib-096abe4908834d96a7225218c18d08425aa48b90.tar.gz
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".
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
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/