diff options
-rw-r--r-- | Documentation/util.md | 1 | ||||
-rwxr-xr-x | util/util_readme/util_readme.sh | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/util.md b/Documentation/util.md index 9adb908615..be7cc9906c 100644 --- a/Documentation/util.md +++ b/Documentation/util.md @@ -1,4 +1,5 @@ # Utilities +_Scripts and programs found in the `./util` directory_ * __abuild__ - coreboot autobuild script builds coreboot images for all available targets. `bash` * __acpi__ - Walk through all ACPI tables with their addresses. `bash` diff --git a/util/util_readme/util_readme.sh b/util/util_readme/util_readme.sh index 251661442c..420ffae698 100755 --- a/util/util_readme/util_readme.sh +++ b/util/util_readme/util_readme.sh @@ -10,11 +10,13 @@ UTIL_README_DIR="$(cd "$(dirname "$0")" || exit; pwd -P)" UTIL_DIR=$(dirname "$UTIL_README_DIR") COREBOOT_ROOT_DIR=$(dirname "$UTIL_DIR") DOCMENTATION_DIR="$COREBOOT_ROOT_DIR/Documentation" +SUMMARY="_Scripts and programs found in the \`./util\` directory_" DESCRIPTION_FILES=$(find "$UTIL_DIR" -name "description.md" | sort) echo -n "" > "$UTIL_DIR/README.md" echo "# Utilities" > "$DOCMENTATION_DIR/util.md" +echo "$SUMMARY" >> "$DOCMENTATION_DIR/util.md" for DESC_FILE in $DESCRIPTION_FILES; do UTIL_NAME=$(echo "$DESC_FILE" | rev | cut -d '/' -f2 | rev) |