From b8e09680fc9986feb05d8f0fc706251f86c09fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= Date: Sat, 13 Jul 2024 16:16:30 +0200 Subject: [PATCH] Update Bakefile instructions to mention Docker See #24702. (cherry picked from commit 824bb5c03a6b1c8d7f1807680fd20d30732e457c) --- build/bakefiles/README | 2 +- docs/contributing/how-to-add-files-to-build-system.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build/bakefiles/README b/build/bakefiles/README index 766d513abc..aa63243659 100644 --- a/build/bakefiles/README +++ b/build/bakefiles/README @@ -1,5 +1,5 @@ -This directory contains Bakefile (see http://bakefile.sourceforge.net) +This directory contains Bakefile (see https://www.bakefile.org) files needed to generate native makefiles for wxWidgets library and samples. diff --git a/docs/contributing/how-to-add-files-to-build-system.md b/docs/contributing/how-to-add-files-to-build-system.md index e5f716d93e..ee163511c5 100644 --- a/docs/contributing/how-to-add-files-to-build-system.md +++ b/docs/contributing/how-to-add-files-to-build-system.md @@ -16,6 +16,12 @@ the `bakefile_gen` tool. Run it from `$(wx)/build/bakefiles` directory and it wi regenerate all outdated makefiles. See `$(wx)/build/bakefiles/README` for more details. +You can also run Bakefile from a Docker or Podman container and avoid the need +to install it (expanding "$(wx)" to be the path to wx install): + + docker run --rm -v $(wx):$(wx) -w `pwd` + ghcr.io/vslavik/bakefile:0.2 bakefile_gen + Note that it generates makefiles for samples, too. IMPORTANT NOTE: Don't forget to run autoconf in wxWidgets root directory