[DRE-commits] [SCM] ruby-krb5-auth.git branch, master, updated. upstream/0.7-3-gc62dfbc

Paul van Tilburg paulvt at debian.org
Thu May 17 16:06:47 UTC 2012


The following commit has been merged in the master branch:
commit c62dfbc08e591ac175ffbac93024ede2765987f9
Author: Paul van Tilburg <paulvt at debian.org>
Date:   Thu May 17 18:06:28 2012 +0200

    Generate and install RDoc documentation; added rake as build-depend

diff --git a/debian/changelog b/debian/changelog
index e72893b..bcd1768 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,8 +15,11 @@ ruby-krb5-auth (0.7-3) UNRELEASED; urgency=low
     - Added myself to the uploaders.
     - Added libkrb5-ruby, libkrb5-ruby1.8, libkrb5-ruby1.9.1 and
       libkrb5-ruby-doc as transitional packages.
-   * debian/copyright: converted to the Debian copyright format version 1.0.
-   * debian/ruby-krb5-auth.examples: created from debian/libkrb-ruby*.examples.
+    - Added a build-depend on rake for to be able to run the "rdoc" task.
+  * debian/copyright: converted to the Debian copyright format version 1.0.
+  * debian/ruby-krb5-auth.examples: created from debian/libkrb-ruby*.examples.
+  * debian/ruby-krb5-auth.docs: install generated RDoc documentation.
+  * debian/rules: generate and clean RDoc documentation using rake.
 
  -- Paul van Tilburg <paulvt at debian.org>  Thu, 17 May 2012 17:38:19 +0200
 
diff --git a/debian/control b/debian/control
index d5efe47..9bd1dd4 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Ryan Niebur <ryanryan52 at gmail.com>, Paul van Tilburg <paulvt at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), libkrb5-dev
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), libkrb5-dev, rake
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-krb5-auth.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-krb5-auth.git;a=summary
diff --git a/debian/ruby-krb5-auth.docs b/debian/ruby-krb5-auth.docs
new file mode 100644
index 0000000..4dfaa2a
--- /dev/null
+++ b/debian/ruby-krb5-auth.docs
@@ -0,0 +1 @@
+rdoc
diff --git a/debian/rules b/debian/rules
index a5e7dc8..80171e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,12 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_installdocs:
+	rake rdoc
+	mv doc rdoc
+	dh_installdocs
+
+override_dh_clean:
+	rm -rf rdoc
+	dh_clean

-- 
ruby-krb5-auth.git



More information about the Pkg-ruby-extras-commits mailing list