Fixed the master build and added a mlite build
This commit is contained in:
parent
2a1b38e0c2
commit
26312cadde
13
build.sh
13
build.sh
|
|
@ -60,6 +60,7 @@ Modes:
|
|||
simple (default) – run a minimal build
|
||||
clean – clean all build artifacts
|
||||
player – build the player handbook
|
||||
master – build the master handbook
|
||||
full – rerun a full build
|
||||
|
||||
Everything that follows the mode is forwarded verbatim to `make` inside
|
||||
|
|
@ -79,6 +80,10 @@ HELP
|
|||
MODE=master
|
||||
shift
|
||||
;;
|
||||
--mlite|mlite)
|
||||
MODE=mlite
|
||||
shift
|
||||
;;
|
||||
--clean|clean)
|
||||
MODE=clean
|
||||
shift
|
||||
|
|
@ -176,6 +181,14 @@ case "$MODE" in
|
|||
|
||||
echo "--- Build Completed Successfully ---"
|
||||
;;
|
||||
mlite)
|
||||
|
||||
echo ">>> Executing PLAYER build (with args: ${MAKE_ARGS[@]})..."
|
||||
|
||||
run_podman make "${MAKE_ARGS[@]}" -N Master_handbook.tex || exit $?
|
||||
|
||||
echo "--- Build Completed Successfully ---"
|
||||
;;
|
||||
clean)
|
||||
|
||||
echo ">>> Cleaning up directory..."
|
||||
|
|
|
|||
Reference in New Issue