From 74ab49d2f02d65fb4d2915563d8b4c4f026e4657 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 6 Jan 2010 18:09:27 -0800 Subject: Fix minor build system bugs --- GNUmakefile | 2 +- Rakefile | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 010b879..b5bc5f4 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -96,7 +96,7 @@ $(release_changes): $(RAKE) -s release_changes > $@+ $(VISUAL) $@+ && test -s $@+ && mv $@+ $@ $(release_notes): - GIT_URL=$(GIT_URL) $(RUBY) -s release_notes > $@+ + GIT_URL=$(GIT_URL) $(RAKE) -s release_notes > $@+ $(VISUAL) $@+ && test -s $@+ && mv $@+ $@ # ensures we're actually on the tagged $(VERSION), only used for release diff --git a/Rakefile b/Rakefile index 8997170..aed50d9 100644 --- a/Rakefile +++ b/Rakefile @@ -44,6 +44,7 @@ def tags end cgit_url = "http://git.bogomips.org/cgit/clogger.git" +git_url = ENV['GIT_URL'] || 'git://git.bogomips.org/clogger.git' desc 'prints news as an Atom feed' task :news_atom do @@ -104,8 +105,6 @@ desc "print release notes for Rubyforge" task :release_notes do require 'rubygems' - git_url = ENV['GIT_URL'] || 'git://git.bogomips.org/clogger.git' - spec = Gem::Specification.load('clogger.gemspec') puts spec.description.strip puts "" @@ -145,7 +144,7 @@ task :raa_update do :category_minor => 'Rack', :url => s.homepage, :download => 'http://rubyforge.org/frs/?group_id=8896', - :license => 'LGPLv3', + :license => 'LGPL', :description_style => 'Plain', :description => desc, :pass => password, -- cgit v1.2.3-24-ge0c7