]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
added added "./configure -svnupdate rebuild"
[user/henk/code/inspircd.git] / configure
index ef17e9bb350024db87fde6295a916e427c671daf..7192a8e97ed6852b3724bdc0981cf2a4f71a48d8 100755 (executable)
--- a/configure
+++ b/configure
@@ -101,6 +101,15 @@ if ($arg eq "-update") {
        }
 }
 
+if ($arg eq "-svnupdate") {
+       system("svn update");
+       system("perl configure -update");
+       if ($ARGV[1] eq "rebuild") {
+               system("make install");
+       }
+       exit;
+}
+
 if ($arg eq "-modupdate") {
        # Does the cache file exist?
        if (!getcache()) {