about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-29 09:29:13 +0000
committerEric Wong <normalperson@yhbt.net>2010-12-29 09:29:13 +0000
commit558abace15eefb06163b741cc7090893d532fb1d (patch)
tree628e669933957f67faf6d05bd71ed13244df9416
parent074b2ddc09517274b058a68fd1d40c59e35ca3a5 (diff)
-rw-r--r--GNUmakefile5
-rw-r--r--rainbows.gemspec8
2 files changed, 2 insertions, 11 deletions
diff --git a/GNUmakefile b/GNUmakefile
index c3f6040..6b392e2 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -9,9 +9,6 @@ GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE
         @./GIT-VERSION-GEN
 -include GIT-VERSION-FILE
 -include local.mk
-ifeq ($(DLEXT),) # "so" for Linux
-  DLEXT := $(shell $(RUBY) -rrbconfig -e 'puts Config::CONFIG["DLEXT"]')
-endif
 ifeq ($(RUBY_VERSION),)
   RUBY_VERSION := $(shell $(RUBY) -e 'puts RUBY_VERSION')
 endif
@@ -45,6 +42,8 @@ clean:
 man html:
         $(MAKE) -C Documentation install-$@
 
+pkg_extra := GIT-VERSION-FILE ChangeLog LATEST NEWS $(man1_paths)
+
 ChangeLog: GIT-VERSION-FILE .wrongdoc.yml
         wrongdoc prepare
 
diff --git a/rainbows.gemspec b/rainbows.gemspec
index cea123d..ceecde9 100644
--- a/rainbows.gemspec
+++ b/rainbows.gemspec
@@ -1,14 +1,6 @@
 # -*- encoding: binary -*-
-
 ENV["VERSION"] or abort "VERSION= must be specified"
 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
-
-# don't bother with tests that fork, not worth our time to get working
-# with `gem check -t` ... (of course we care for them when testing with
-# GNU make when they can run in parallel)
-test_files = manifest.grep(%r{\Atest/unit/test_.*\.rb\z}).map do |f|
-  File.readlines(f).grep(/\bfork\b/).empty? ? f : nil
-end.compact
 require 'wrongdoc'
 extend Wrongdoc::Gemspec
 name, summary, title = readme_metadata