build: provide way to bootstrap with python gnulib-tool

* cfg.mk: Add a new "world" default target so that one
can bootstrap (using the python implementation), configure,
and make, by using `make -f cfg.mk`.
* gnulib: Update to latest primarily to test the
bootstrap python implementation which is now in beta test.
* README-hacking: Document the `make -f cfg.mk` shortcut.
This commit is contained in:
Pádraig Brady committed 2024-04-23 12:33:06 +01:00
1 parent fb543b6b82
commit 555f9061ee
3 files changed
+14 -8

No files matched your search

+8 -7
View File
@@ -45,16 +45,17 @@ time and file system space requirements:
$ export GNULIB_SRCDIR=/path/to/gnulib
The next step is to get and check other files needed to build,
which are extracted from other source packages:
The next steps are to get and check other files needed to build,
and complete the build:
$ make -f cfg.mk
For reference the above command runs the following steps,
which can be done individually if required to give more control:
$ ./bootstrap
And there you are! Just
$ ./configure --quiet #[--disable-gcc-warnings] [*]
$ make
$ make check
$ make #[check]
At this point, there should be no difference between your local copy,
and the Git master copy:
+5
View File
@@ -57,6 +57,11 @@ _makefile_at_at_check_exceptions = \
# Our help-version script is in a slightly different location.
_hv_file ?= $(srcdir)/tests/misc/help-version
world:
GNULIB_TOOL_IMPL=py ./bootstrap && \
./configure --quiet && \
$(MAKE) $(AM_MAKEFLAGS) -j $$(nproc 2>/dev/null || echo 1)
# Ensure that the list of O_ symbols used to compute O_FULLBLOCK is complete.
dd = $(srcdir)/src/dd.c
sc_dd_O_FLAGS:
+1 -1
Submodule gnulib updated: 83a61464bd...237cbf1c76.