[DRE-commits] [jekyll] 04/14: depends on libjs-modernizr and remove convenience copy

dod at debian.org dod at debian.org
Wed Apr 30 07:23:12 UTC 2014


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

dod pushed a commit to branch master
in repository jekyll.

commit 335a8b0345d3947aea71ad03dc0605328d48a37d
Author: Dominique Dumont <dod at debian.org>
Date:   Tue Apr 29 17:54:44 2014 +0200

    depends on libjs-modernizr and remove convenience copy
---
 debian/control      | 6 ++++--
 debian/jekyll.links | 1 +
 debian/rules        | 6 ++++++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 3d724eb..e66d4dd 100644
--- a/debian/control
+++ b/debian/control
@@ -25,7 +25,8 @@ Build-Depends: cucumber,
                ruby-safe-yaml,
                ruby-shoulda,
                ruby-toml,
-               xdg-utils
+               xdg-utils,
+               libjs-modernizr
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/jekyll.git;a=summary
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/jekyll.git
@@ -46,7 +47,8 @@ Depends: ${misc:Depends},
          ruby-pygments.rb,
          ruby-redcarpet,
          ruby-safe-yaml,
-         ruby-toml
+         ruby-toml,
+         libjs-modernizr
 Recommends: ruby-sequel,
             ruby-sequel-pg,
             ruby-mysql
diff --git a/debian/jekyll.links b/debian/jekyll.links
new file mode 100644
index 0000000..45f77ab
--- /dev/null
+++ b/debian/jekyll.links
@@ -0,0 +1 @@
+usr/share/javascript/modernizr/modernizr.min.js usr/lib/ruby/vendor_ruby/site_template/js/modernizr.min.js
diff --git a/debian/rules b/debian/rules
index 7f29e27..d0b0a67 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,9 +11,15 @@
 # If you need to specify the .gemspec (eg there is more than one)
 #export DH_RUBY_GEMSPEC=gem.gemspec
 
+TMP     = $(CURDIR)/debian/jekyll
+
 %:
 	dh $@ --buildsystem=ruby --with ruby
 
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -fr $(CURDIR)/test/dest
+
+override_dh_clean:
+	# replace minified js files with link to system library
+	rm -rf $(TMP)/site/js/*.js

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



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