]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - tools/make-beautify
Added a function that walks through our software list and gives wiki output.
[people/amarx/ipfire-3.x.git] / tools / make-beautify
index f65942a402e547f4629183e6ab139b0484a1d010..f189d4ab9cbc07d61139414e9a34dc443804fda5 100644 (file)
@@ -212,3 +212,16 @@ dialogerror() {
        [ -z "$LOGFILE" ] || \
        echo "       Check $LOGFILE for errors if applicable"
 } # End of dialogerror()
+
+software_list() {
+       local DATA
+       DATA="$BASEDIR/log_${TARGET}/_build.00-software.log"
+
+       echo "====== List of softwares used to build $NAME Version: $VERSION ======"
+       echo
+
+       sort < $DATA | uniq | tr ";" " " | \
+               while read NAME VERSION; do
+                       echo "  * $NAME-$VERSION"
+               done
+}