[DRE-commits] [camping] 05/08: depend on libjs-jquery, remove included one

Jonas Genannt jonas at brachium-system.net
Sat Aug 2 14:30:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

hggh-guest pushed a commit to branch master
in repository camping.

commit 5ef69f7d01c54e1a1ea976aff0e8cb8460b62c64
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Sat Aug 2 16:24:10 2014 +0200

    depend on libjs-jquery, remove included one
---
 debian/control | 2 +-
 debian/rules   | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index a52eaa1..a8c5a2f 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ XS-Ruby-Versions: all
 Package: camping
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-rack
+Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-rack, libjs-jquery
 Recommends: ruby-activerecord-3.2, ruby-sqlite3 (>= 1.1.0.1), ruby-mab (>= 0.0.3) | ruby-tilt
 Suggests: thin
 Description: small Ruby web framework for Model-View-Controller type applications
diff --git a/debian/rules b/debian/rules
index d9a4245..a7b5d46 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,11 @@ override_dh_auto_build:
 	  --main README --title "Camping, a Microframework" --op doc/rdoc \
 	  README book/* lib/camping-unabridged.rb lib/camping/*.rb
 
+override_dh_installdocs:
+	dh_installdocs -O--buildsystem=ruby
+	rm debian/camping/usr/share/doc/camping/rdoc/js/jquery.js
+	ln -s /usr/share/javascript/jquery/jquery.min.js debian/camping/usr/share/doc/camping/rdoc/js/jquery.js
+
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf doc

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/camping.git



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