HinzugefĆ¼gt:
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sun, 23 Jul 2006 20:41:53 +0000 (20:41 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sun, 23 Jul 2006 20:41:53 +0000 (20:41 +0000)
  * Bessere Steuerung durch ein Script nach der Idee von linuxadmin.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@222 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

make.sh

diff --git a/make.sh b/make.sh
index 66e821f..c3bca41 100644 (file)
--- a/make.sh
+++ b/make.sh
@@ -1223,8 +1223,37 @@ build-only)
        ipcopmake $2
        ;;
 *)
-       echo "Usage: $0 {build|changelog|check|checkclean|clean|commit|diff|dist|gettoolchain|make|newpak|prefetch|pub-iso|pub-paks|shell|sync|toolchain|update}"
-       cat doc/make.sh-usage
-       exit 1
+       clear
+       svn info
+       #echo "Usage: $0 {build|changelog|check|checkclean|clean|commit|diff|dist|gettoolchain|make|newpak|prefetch|pub-iso|pub-paks|shell|sync|toolchain|update}"
+       #cat doc/make.sh-usage
+       select name in "Build IPFire" "Prefetch" "Get Toolchain" "Update SVN Version"  "Create Diff"  "End"
+       do
+       case $name in
+        "Update SVN Version")
+                echo "### SVN UPDATE ###"
+                svn update
+                ;;
+        "Prefetch")
+                echo "### MAKE.SH PREFETCH ###"
+                $0 prefetch
+                ;;
+        "Create Diff")
+                echo "### MAKE.SH DIFF ###"
+                $0 diff
+                ;;
+        "Build IPFire")
+                echo "### MAKE.SH BUILD ###"
+                $0 build
+                ;;
+        "Get Toolchain")
+                echo "### MAKE.SH GETTOOLCHAIN ###"
+                $0 gettoolchain
+                ;;
+        "End")
+                break
+                ;;
+       esac
+       done
        ;;
 esac