From 35136c70cbd3cee9a18c7246895dd040bc35d90f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 1 Apr 1999 06:22:40 +0000 Subject: Add Debian changelog update. svn path=/trunk/; revision=2423 --- makerelease | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'makerelease') diff --git a/makerelease b/makerelease index 64050620..55e0e86c 100755 --- a/makerelease +++ b/makerelease @@ -38,6 +38,28 @@ if (system("su -c 'make >/dev/null' esr")) { die("Compilation failure\n"); } +# Update the Debian logfile +open(DEBLOG, "debian/changelog"); +$firstline = ; +close(DEBLOG); +$firstline =~ /fetchmail \(*([^-]*)/; +$logvers = $1; +if ($version eq $logvers) { + print "No change to Debian logfile...\n"; +} else { + print "Updating the Debian logfile ($logvers -> $version)...\n"; + open(DEBLOG, ">>debian/changelog"); + print DEBLOG < ${date} + +EOF + close(DEBLOG); +} + print "Building the distribution...\n"; if (system("su -c 'make dist >/dev/null' esr")) { die("Distribution-build failure\n"); -- cgit v1.2.3