[DRE-commits] [SCM] ruby-dbi.git branch, master, updated. upstream/0.4.5-4-g19ce14e

Dmitry Borodaenko angdraug at debian.org
Tue Sep 13 17:14:04 UTC 2011


The following commit has been merged in the master branch:
commit 19ce14e09cbaa9efc750618435488839134c3b0d
Author: Dmitry Borodaenko <angdraug at debian.org>
Date:   Tue Sep 13 20:11:16 2011 +0300

    documentation: rdoc, examples

diff --git a/debian/ruby-dbi.docs b/debian/ruby-dbi.docs
index 786a9ba..293d354 100644
--- a/debian/ruby-dbi.docs
+++ b/debian/ruby-dbi.docs
@@ -1,2 +1,2 @@
-# FIXME: READMEs found
-# README
+README
+rdoc
diff --git a/debian/ruby-dbi.examples b/debian/ruby-dbi.examples
index d970cc8..e39721e 100644
--- a/debian/ruby-dbi.examples
+++ b/debian/ruby-dbi.examples
@@ -1,3 +1 @@
-# FIXME: examples/ dir found in source. Consider installing the examples.
-# Examples:
-# examples/*
+examples/*
diff --git a/debian/rules b/debian/rules
index a5e7dc8..09e04d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,13 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_installdocs:
+	rdoc --inline-source --op rdoc --main README \
+		--title "Database Independent Interface for Ruby" \
+		lib README
+	dh_installdocs
+
+override_dh_clean:
+	rm -rf rdoc
+	dh_clean

-- 
ruby-dbi.git



More information about the Pkg-ruby-extras-commits mailing list