-PKG_VERSION = `grep VERSION lib/redact/redact.rb`.
- match(/VERSION = \"(.*)\"/).captures.first
-
-CLOBBER.include(FileList["test/*.edj"])
+PKG_VERSION = File.read("lib/redact/redact.rb").
+ match(/^\s*VERSION = \"(.*)\"\s*$/).captures.first
+PKG_FILES = FileList[
+ "AUTHORS", "COPYING", "ChangeLog", "NEWS", "README", "Rakefile",
+ "TODO",
+ "bin/redact", "lib/redact/app.rb", "lib/redact/part.rb",
+ "lib/redact/program.rb", "lib/redact/redact.rb",
+ "lib/redact/source.rb",
+ "test/crossfade.rb", "test/red_rect.rb", "test/test_basic.rb"
+]