Makefile.am: Document commands from site/docs/build/index.md.

The build documentation (site/docs/build/index.md) references some
commands, so documenting them in the a 'make help' command as well can
help improve the contributors efficiency by not having to re-read the
documentation every time we are looking for a command.

In addition this can help separate well known commands from other less
documented ones that are internal to GNU Boot and that can more easily
change.

This is also important as it allows, if the need arrise, to have the
the autotools system play a more important role than merely a
"compatibility system" for people used to type "make" as the build
instructions currently state.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-04-17 18:56:06 +02:00
parent b175bd85a5
commit f8faf2803d
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 13 additions and 0 deletions

View File

@ -107,3 +107,16 @@ check:
set -o pipefail ; ./tests/distclean | tee -a $(LOG) set -o pipefail ; ./tests/distclean | tee -a $(LOG)
set -o pipefail ; ./tests/targets 2>&1 | tee -a $(LOG) set -o pipefail ; ./tests/targets 2>&1 | tee -a $(LOG)
@echo "[ OK ] Makefile: $@ target. See $(LOG) for the log." @echo "[ OK ] Makefile: $@ target. See $(LOG) for the log."
help:
@printf "Available commands:\n"
@printf "\tsudo make install-dependencies-ubuntu # %s\n" \
"Install required dependencies on Ubuntu."
@printf "\tsudo make install-dependencies-pureos-10 # %s\n" \
"Install required dependencies on PureOS 10 (byzantium)."
@printf "\tmake release # %s\n" \
"Build a GNU Boot release."
@printf "\tmake clean # %s\n" \
"Remove all the files being built in GNU Boot."
@printf "\tmake crossgcc-clean # %s\n" \
"Remove the builds of the crossgcc toolchain."