diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-11-27 16:36:48 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-11-27 16:36:48 +0000 |
commit | e9ae4d411fc732f3fb3a3dce7387adc8ef72a27b (patch) | |
tree | cd8dbb607fa301b5087ac6efc5249d9b503335a4 /dist-tools | |
parent | 74b6cc2e124a7e490d9dfe614748041e2a0d6daf (diff) | |
download | fetchmail-e9ae4d411fc732f3fb3a3dce7387adc8ef72a27b.tar.gz fetchmail-e9ae4d411fc732f3fb3a3dce7387adc8ef72a27b.tar.bz2 fetchmail-e9ae4d411fc732f3fb3a3dce7387adc8ef72a27b.zip |
Add a few revisions (not yet workable).
svn path=/trunk/; revision=4482
Diffstat (limited to 'dist-tools')
-rwxr-xr-x | dist-tools/makerelease | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dist-tools/makerelease b/dist-tools/makerelease index 41ddf038..bcb94c3a 100755 --- a/dist-tools/makerelease +++ b/dist-tools/makerelease @@ -1,6 +1,6 @@ #!/usr/bin/env perl # -# Make a fetchmail release. Must be run as root, to make RPMs. +# Make a fetchmail release. # Dumps a release notice and diffs as a MIME multipart message # in RELEASE_NOTES # @@ -9,7 +9,7 @@ $timezone = strftime('%z', localtime) || "-0500"; $tmp = $ENV{TMPDIR} || $ENV{TMP} || $ENV{TEMP} || "/tmp"; $project = "fetchmail"; -$svnrepos = "svn://svn.berlios.de/$project"; +$svnrepos = "https://decoy.wox.org/svn/$project"; $website = "http://developer.berlios.de/projects/$project"; $mailfrom = "<$project-devel-owner\@lists.berlios.de> (Fetchmail Development Team)"; @@ -37,21 +37,21 @@ while ($i = shift @ARGV) } # extract version from source -$version=`grep 'AC_INIT' configure.in`; -$version =~ /AC_INIT\([^,]*,\[?([0-9.]+)\]?\)/; +$version=`grep 'AC_INIT' configure.ac`; +$version =~ /AC_INIT\([^,]*,\[?([0-9.rc-]+)\]?\)/; $version = $1; die "cannot determine version" unless defined $1; $tag = "RELEASE_$version"; $tag =~ tr/./-/; # extract existing tags -open(ID, "svn ls $svnrepos/tags|"); +open(ID, "-|", "svn", "ls", $svnrepos . "/tags") || die "cannot run svn ls: $!\naborting"; while (<ID>) { if (m{^(RELEASE_.*)/}) { unshift(@versions, $1); } } -close(ID); +close ID || die "svn ls failed, aborting"; if ($versions[0] eq $tag) { $tag = $versions[0]; @@ -79,7 +79,7 @@ if (system("./configure && make clean && make -C po update-po && make clean")) { } print "### Test-building the software...\n"; -if (system("./configure && make clean && make all check")) { +if (system("./configure && make clean && make distcheck")) { die("Compilation failure\n"); } |