[DRE-commits] [ruby-pg] 04/06: Update the rule to generate the documentation and register it in doc-base
Cédric Boutillier
boutil at moszumanska.debian.org
Thu Aug 21 11:04:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-pg.
commit ba560bbc54564768e2527e1cf29663e1fbe8c51b
Author: Cédric Boutillier <boutil at debian.org>
Date: Thu Aug 21 12:50:56 2014 +0200
Update the rule to generate the documentation and register it in doc-base
---
debian/changelog | 1 +
debian/control | 2 +-
debian/ruby-pg.doc-base | 10 ++++++++++
debian/rules | 2 +-
4 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4a5fd84..7808a5d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ ruby-pg (0.17.1-2) UNRELEASED; urgency=medium
gemspecs
* Build-depend on ruby-hoe and rake-compiler to be able to run rake tasks
from the upstream Rakefile
+ * Update the rule to generate the documentation and register it in doc-base
-- Cédric Boutillier <boutil at debian.org> Thu, 21 Aug 2014 11:49:38 +0200
diff --git a/debian/control b/debian/control
index b608dac..c4c71e6 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Package: ruby-pg
Architecture: any
XB-Ruby-Versions: ${ruby:Versions}
Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
-Suggests: libjs-jquery
+Suggests: libjs-jquery, doc-base
Description: PostgreSQL interface for Ruby
ruby-pg module allows Ruby programs to interface with the PostgreSQL
database engine. It supports the functions defined in libpq library.
diff --git a/debian/ruby-pg.doc-base b/debian/ruby-pg.doc-base
new file mode 100644
index 0000000..fc851f8
--- /dev/null
+++ b/debian/ruby-pg.doc-base
@@ -0,0 +1,10 @@
+Document: ruby-pg
+Title: pg: The Ruby Interface to PostgreSQL
+Author: Michael Granger
+Abstract: Pg is the Ruby interface to the PostgreSQL RDBMS.
+ This API documentation is generated from the source with RDoc.
+Section: Programming/Ruby
+
+Format: HTML
+Index: /usr/share/doc/ruby-pg/rdoc/index.html
+Files: /usr/share/doc/ruby-pg/rdoc/*
diff --git a/debian/rules b/debian/rules
index 6f0a3d0..662f675 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ override_dh_auto_build:
dh_auto_build
override_dh_installdocs:
- rdoc --op rdoc --main PGconn --title "Ruby interface to PostgreSQL RDBMS" --encoding=UTF-8 ext/pg.c
+ rdoc --op rdoc --main README.rdoc --title "pg: The Ruby Interface to PostgreSQL" lib/ ext/*.c README.rdoc
dh_installdocs
override_dh_installchangelogs:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-pg.git
More information about the Pkg-ruby-extras-commits
mailing list