[DRE-commits] [SCM] ruby-http-connection.git branch, master, updated. upstream/1.4.1-13-g832d86a
Praveen Arimbrathodiyil
praveen at debian.org
Mon Oct 29 20:15:57 UTC 2012
The following commit has been merged in the master branch:
commit 555baeafe3bd1bf6b0b864ad187e915a27a1134a
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Oct 30 00:57:58 2012 +0530
generate rdoc api documentation
diff --git a/debian/ruby-http-connection.doc-base b/debian/ruby-http-connection.doc-base
new file mode 100644
index 0000000..fda643f
--- /dev/null
+++ b/debian/ruby-http-connection.doc-base
@@ -0,0 +1,10 @@
+Document: ruby-http-connection-doc
+Title: Documentation of the http_connection library
+Author: RightScale, Inc
+Abstract: This API documentation is generated with RDOC from the source of
+ http_connection, HTTP helper library for Ruby.
+Section: Programming/Ruby
+
+Format: HTML
+Index: /usr/share/doc/camping/rdoc/index.html
+Files: /usr/share/doc/camping/rdoc/*
diff --git a/debian/ruby-http-connection.docs b/debian/ruby-http-connection.docs
index 71dfd5b..7daec72 100644
--- a/debian/ruby-http-connection.docs
+++ b/debian/ruby-http-connection.docs
@@ -1 +1 @@
-README.txt
+doc/rdoc
diff --git a/debian/rules b/debian/rules
index a5e7dc8..10427f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,13 @@
%:
dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_build:
+ dh_auto_build
+ rdoc --fmt html --inline-source --fileboxes --line-numbers \
+ --main README --title "http_connection, HTTP helper library for Ruby" \
+ --op doc/rdoc README.txt lib/right_http_connection.rb
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf doc
--
ruby-http-connection.git
More information about the Pkg-ruby-extras-commits
mailing list