[DRE-commits] [SCM] ruby-uuidtools.git branch, master, updated. debian/2.1.2-2-9-gafb356d

=?UTF-8?Q?Marc=20Dequ=C3=A8nes=20?=(Duck) Duck at DuckCorp.org
Thu Jun 6 01:05:49 UTC 2013


The following commit has been merged in the master branch:
commit dc67a04fbb047f5cabc30959c79c0ab7eb827b73
Author: Marc Dequènes (Duck) <Duck at DuckCorp.org>
Date:   Thu Jun 6 02:56:36 2013 +0200

    [fix] use libjs-jquery instead of embedded library for doc

diff --git a/debian/changelog b/debian/changelog
index f719d45..2f93496 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ ruby-uuidtools (2.1.4-1) UNRELEASED; urgency=low
   * README file is not distributed anymore.
   * Removed transitional libuuidtools-* package and obsolete relations.
   * Increased Standards-Version to 3.9.4 (no changes).
+  * Use system JQuery library instead of embedded one for documentation.
 
  -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Thu, 06 Jun 2013 02:21:13 +0200
 
diff --git a/debian/control b/debian/control
index 3a720c5..9f81e87 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Description: UUIDs generation library for Ruby
 Package: ruby-uuidtools-doc
 Section: doc
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, libjs-jquery
 Suggests: doc-base
 Description: UUIDs generation library for Ruby - documentation
  UUIDTools was designed to be a simple library for generating any
diff --git a/debian/rules b/debian/rules
index a6c3833..21ac0e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,12 @@ override_dh_auto_build:
 	rdoc --all --inline-source --diagram --fileboxes --line-numbers --fmt=html \
 		-o build-doc/rdoc lib
 
+override_dh_installdocs:
+	dh_installdocs
+	# use the system library
+	rm debian/ruby-uuidtools-doc/usr/share/doc/ruby-uuidtools-doc/rdoc/js/jquery.js
+	dh_link -p ruby-uuidtools-doc usr/share/javascript/jquery/jquery.js usr/share/doc/ruby-uuidtools-doc/rdoc/js/jquery.js
+
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf build-doc

-- 
ruby-uuidtools.git



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