[DRE-commits] [ruby-bdb] 08/12: Generate and install rdoc documentation
David Suárez
deiv-guest at moszumanska.debian.org
Wed Mar 12 20:40:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
deiv-guest pushed a commit to branch master
in repository ruby-bdb.
commit 42265d5a12600db00c443a129512b5f59e3c6869
Author: David Suárez <david.sephirot at gmail.com>
Date: Wed Mar 12 21:28:20 2014 +0100
Generate and install rdoc documentation
---
debian/control | 2 +-
debian/ruby-bdb.docs | 3 +--
debian/rules | 12 +++++++++++-
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index 4da918d..b26f23f 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ XS-Ruby-Versions: all
Package: ruby-bdb
Architecture: any
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, libjs-jquery
Description: Interface to Berkeley DB for Ruby 1.8
BDB is an interface to the Berkeley database library.
.
diff --git a/debian/ruby-bdb.docs b/debian/ruby-bdb.docs
index a16e529..4dfaa2a 100644
--- a/debian/ruby-bdb.docs
+++ b/debian/ruby-bdb.docs
@@ -1,2 +1 @@
-bdb.html
-docs
+rdoc
diff --git a/debian/rules b/debian/rules
index 01fa945..7d3ae3e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,12 +15,22 @@ export DH_RUBY_GEMSPEC=debian/bdb.gemspec
dh $@ --buildsystem=ruby --with ruby
override_dh_installdocs:
- dh_installdocs -O--buildsystem=ruby -X*.rd -X*.rb
+ rdoc --op rdoc --main README.en \
+ --title "Interface to Berkeley DB" \
+ src doc README.en
+ $(RM) $(CURDIR)/debian/ruby-bdb/usr/share/doc/ruby-bdb/rdoc/js/jquery.js
+ dh_installdocs
+
+override_dh_link:
+ # link to jquery.js
+ dh_link --package=ruby-bdb usr/share/javascript/jquery/jquery.js \
+ usr/share/doc/ruby-bdb/rdoc/js/jquery.js
override_dh_clean:
dh_clean
$(RM) src/bdb_features.h
$(RM) -R tmp
+ $(RM) -R rdoc
# This package is maintained in a Git repository, and empty
# directories are not tracked by Git. In order to run the test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-bdb.git
More information about the Pkg-ruby-extras-commits
mailing list