From: Trevor Woerner <[email protected]>

As each component is processed, provide a visual break between them so it is
easier to see which component is being processed.

Signed-off-by: Trevor Woerner <[email protected]>
---
 build.sh |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/build.sh b/build.sh
index 0636173..14219ad 100755
--- a/build.sh
+++ b/build.sh
@@ -74,6 +74,22 @@ failed() {
     fi
 }
 
+# print a pretty title with the given string
+# args:
+#   $1 - title string
+# returns:
+#   (not significant)
+module_title() {
+    local 
_line="========================================================================"
+
+    # preconds
+    if [ -z "$1" ]; then
+       return
+    fi
+
+    echo -e "\n=== $1  ${_line:${#1}}"
+}
+
 checkfortars() {
     M=$1
     C=$2
@@ -190,6 +206,8 @@ build() {
        fi
     fi
 
+    module_title "$1/$2"
+
     SRCDIR=""
     CONFCMD=""
     if [ -f $1/$2/autogen.sh ]; then
-- 
1.7.3.rc2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to