-# $Id: Rakefile 75 2006-05-13 11:54:53Z tilman $
-
require "rbconfig"
require "rake/clean"
require "rake/testtask"
t.rdoc_dir = "doc"
t.title = "Ruby-EET - EET bindings for Ruby"
t.options = ["--line-numbers", "--inline-source", "--main", "README"]
- t.rdoc_files.include("README", "COPYING", "AUTHORS", "ChangeLog",
+ t.rdoc_files.include("README", "COPYING", "AUTHORS",
"NEWS", "ext/ext.c", "lib/eet.rb")
end
+CLOBBER.include("ChangeLog")
+
+file "ChangeLog" do
+ `git log > ChangeLog`
+end
+
Rake::PackageTask.new(PKG_NAME, PKG_VERSION) do |t|
t.need_tar_gz = true
- t.package_files.include("[A-Z]*", "ext/*.c", "lib/*.rb", "test/*.rb")
+ t.package_files.include("AUTHORS", "ChangeLog", "COPYING", "NEWS",
+ "README", "Rakefile",
+ "ext/*.c", "lib/*.rb", "test/*.rb")
end
task :publish => [:rdoc, :package] do