[DRE-commits] [SCM] ruby-settingslogic.git branch, master, updated. upstream/2.0.8-4-g26fdf61
Per Andersson
avtobiff at gmail.com
Tue Mar 19 14:09:18 UTC 2013
The following commit has been merged in the master branch:
commit 26fdf612abd6ff492b054e789503fb14ee38e17b
Author: Per Andersson <avtobiff at gmail.com>
Date: Tue Mar 19 15:08:38 2013 +0100
Ship documentation
diff --git a/debian/control b/debian/control
index 4ebdea2..0e4d442 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,22 @@ Depends:
${shlibs:Depends},
${misc:Depends},
ruby | ruby-interpreter,
+Suggests:
+ ruby-settingslogic-doc
Description: simple settings solution for Ruby
A simple and straightforward settings solution that uses an ERB enabled YAML
file and a singleton design pattern.
+
+Package: ruby-settingslogic-doc
+Section: doc
+Architecture: all
+Depends:
+ ${misc:Depends},
+ libjs-jquery
+Suggests:
+ ruby-settingslogic
+Description: simple settings solution for Ruby (documentation)
+ A simple and straightforward settings solution that uses an ERB enabled YAML
+ file and a singleton design pattern.
+ .
+ This package contains the documentation for ruby-settingslogic.
diff --git a/debian/ruby-settingslogic-doc.doc-base b/debian/ruby-settingslogic-doc.doc-base
new file mode 100644
index 0000000..ffbb24d
--- /dev/null
+++ b/debian/ruby-settingslogic-doc.doc-base
@@ -0,0 +1,11 @@
+Document: ruby-settingslogic-doc
+Title: Debian ruby-settingslogic Manual
+Author: Ben Johnson
+Abstract: simple settings solution for Ruby (documentation)
+ A simple and straightforward settings solution that uses an ERB enabled YAML
+ file and a singleton design pattern.
+Section: Programming/Ruby
+
+Format: HTML
+Index: /usr/share/doc/ruby-settingslogic-doc/html/index.html
+Files: /usr/share/doc/ruby-settingslogic-doc/html/*
diff --git a/debian/ruby-settingslogic-doc.install b/debian/ruby-settingslogic-doc.install
new file mode 100644
index 0000000..ebbf06a
--- /dev/null
+++ b/debian/ruby-settingslogic-doc.install
@@ -0,0 +1 @@
+doc/* usr/share/doc/ruby-settingslogic-doc/html/
diff --git a/debian/ruby-settingslogic-doc.links b/debian/ruby-settingslogic-doc.links
new file mode 100644
index 0000000..7219e37
--- /dev/null
+++ b/debian/ruby-settingslogic-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/ruby-settingslogic-doc/html/js/jquery.js
diff --git a/debian/docs b/debian/ruby-settingslogic.docs
similarity index 100%
rename from debian/docs
rename to debian/ruby-settingslogic.docs
diff --git a/debian/rules b/debian/rules
index 104de43..a283cec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,20 @@
%:
dh $@ --buildsystem=ruby --with ruby
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf doc
+
+override_dh_auto_build:
+ dh_auto_build
+ # build documentation
+ rdoc lib
+
+override_dh_auto_install:
+ dh_auto_install
+ # remove bundled jquery.js
+ rm -f debian/ruby-settingslogic-doc/usr/share/doc/ruby-settingslogic-doc/html/js/jquery.js
+
override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.rdoc
dh_compress
--
ruby-settingslogic.git
More information about the Pkg-ruby-extras-commits
mailing list