From 558abace15eefb06163b741cc7090893d532fb1d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 29 Dec 2010 09:29:13 +0000 Subject: Packaging cleanups, reinstate generated files for the tarball --- GNUmakefile | 5 ++--- rainbows.gemspec | 8 -------- 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 -- cgit v1.2.3-24-ge0c7