[DRE-commits] [ruby-rubymail] 05/11: debian/rules: build documentation from source
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Feb 15 15:51:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-rubymail.
commit 2ac8ecea63a11ff932bc1872b1f5da3d53418ab8
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun Feb 15 13:15:51 2015 -0200
debian/rules: build documentation from source
---
debian/changelog | 1 +
debian/ruby-rubymail-doc.install | 2 +-
debian/rules | 8 ++++++++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 301c38e..919025f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-rubymail (1.1.0-1) UNRELEASED; urgency=medium
* New upstream release
* Dropped *all* patches which are not needed anymore.
+ * debian/rules: build documentation from source
-- Antonio Terceiro <terceiro at debian.org> Sun, 15 Feb 2015 13:11:11 -0200
diff --git a/debian/ruby-rubymail-doc.install b/debian/ruby-rubymail-doc.install
index ccd189a..c58061a 100644
--- a/debian/ruby-rubymail-doc.install
+++ b/debian/ruby-rubymail-doc.install
@@ -1 +1 @@
-doc/* /usr/share/doc/ruby-rubymail-doc/html/
+html/* /usr/share/doc/ruby-rubymail-doc/html/
diff --git a/debian/rules b/debian/rules
index 7b88454..25ea8bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,14 @@
%:
dh $@ --buildsystem=ruby --with ruby
+override_dh_auto_build:
+ dh_auto_build
+ rake rdoc
+
+override_dh_auto_clean:
+ $(RM) -r html/
+ dh_auto_clean
+
override_dh_auto_install:
dh_auto_install -O--buildsystem=ruby
# Remove script files from ruby-rubymail-doc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rubymail.git
More information about the Pkg-ruby-extras-commits
mailing list