[DRE-commits] [yard] 09/13: fix jquery handling

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Jan 13 09:54:04 UTC 2017


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

terceiro pushed a commit to branch master
in repository yard.

commit c6686dac94f92fbff770d412b6785a83facda0c2
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Jan 10 18:36:20 2017 -0200

    fix jquery handling
---
 debian/rules      | 3 +++
 debian/yard.links | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index ec48592..9b710a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+v := $(dpkg-parsechangelog -SVersion | cut -d - -f 1)
 export GEM2DEB_TEST_RUNNER = --check-dependencies
 export DH_RUBY = --gem-install
 export DH_RUBY_GEM_INSTALL_BLACKLIST_APPEND = lib/yard/rubygems/backports/LICENSE.txt
@@ -16,6 +17,8 @@ override_dh_installman:
 
 override_dh_auto_install:
 	dh_auto_install
+	dh_link /usr/share/javascript/jquery/jquery.js \
+		/usr/share/rubygems-integration/all/gems/yard-$(v)/templates/default/fulldoc/html/js/jquery.js
 	rm -rf doc/
 	rake yard
 
diff --git a/debian/yard.links b/debian/yard.links
deleted file mode 100644
index a929adc..0000000
--- a/debian/yard.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/javascript/jquery/jquery.js usr/share/yard/templates/default/fulldoc/html/js/jquery.js

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



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