X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=7192a8e97ed6852b3724bdc0981cf2a4f71a48d8;hb=a47b242c9f2504228bb463305fac6f2235193215;hp=e7c05a210d99815ce37675d368e7192fb4307ff1;hpb=5ce577ae4b559a4bde18ce470b6fa2d9d6ecd596;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index e7c05a210..7192a8e97 100755 --- 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()) { @@ -869,7 +878,7 @@ sub writefiles { chomp(my $incos = `uname -n -s -r`); chomp(my $version = `sh ./src/version.sh`); chomp(my $revision = `./src/svn-rev.sh`); - $version = "$version (r$revision)"; + $version = "$version(r$revision)"; chomp(my $revision2 = `./src/svn-rev.sh`); open(FILEHANDLE, ">include/inspircd_config.h"); my $NL = $config{NICK_LENGT}+1; @@ -1228,7 +1237,7 @@ EOCHEESE # End Write Entry to the MakeFile ### } - print FILEHANDLE "modinst:\n echo \"*** Installing InspIRCd\"\n" . $crud; + print FILEHANDLE "modinst:\n \@echo \"Installing modules...\"\n" . $crud; }