make.sh-usage: Ship changes to make files

In make.sh-usage document:
 - updated with descriptions for various commands
 - removed descriptions for old commands

In make.sh script:
 - updated make.sh usage line "Usage: $0 [OPTIONS] {build|check-manualpages|..."
 - removed make.sh clear screen commands in build area and toolchain area

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Jon Murphy
2022-05-30 18:50:31 -05:00
committed by Peter Müller
parent 9152d4e453
commit 5f8a1acfe9
2 changed files with 24 additions and 27 deletions

10
make.sh
View File

@@ -1692,7 +1692,7 @@ buildipfire() {
lfsmake2 pmacct
lfsmake2 squid-asnbl
lfsmake2 qemu-ga
lfsmake2 gptfdisk
lfsmake2 gptfdisk
}
buildinstaller() {
@@ -1801,9 +1801,6 @@ case "$1" in
build)
START_TIME="${SECONDS}"
# Clear screen
${INTERACTIVE} && clear
PACKAGE="$BASEDIR/cache/toolchains/$SNAME-$VERSION-toolchain-$TOOLCHAINVER-${BUILD_ARCH}.tar.zst"
#only restore on a clean disk
if [ ! -e "${BASEDIR}/build${TOOLS_DIR}/.toolchain-successful" ]; then
@@ -1947,9 +1944,6 @@ downloadsrc)
cd - >/dev/null 2>&1
;;
toolchain)
# Clear screen
${INTERACTIVE} && clear
prepareenv
print_build_stage "Toolchain compilation (${BUILD_ARCH})"
buildtoolchain
@@ -2051,7 +2045,7 @@ check-manualpages)
fi
;;
*)
echo "Usage: $0 [OPTIONS] {build|changelog|clean|gettoolchain|downloadsrc|shell|sync|toolchain|update-contributors|find-dependencies|check-manualpages}"
echo "Usage: $0 [OPTIONS] {build|check-manualpages|clean|docker|downloadsrc|find-dependencies|gettoolchain|lang|shell|toolchain|update-contributors|uploadsrc}"
cat doc/make.sh-usage
;;
esac