[xmds2] 01/01: Link against installed versions of files underscore.js and jquery.js.
Rafael Laboissière
rlaboiss-guest at moszumanska.debian.org
Tue Sep 2 17:28:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
rlaboiss-guest pushed a commit to branch master
in repository xmds2.
commit f390a5d5f156dc730862bee149edddc8695ff219
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Tue Sep 2 09:07:57 2014 -0300
Link against installed versions of files underscore.js and jquery.js.
The xmds2-doc package now depends on libjs-jquery and
libjs-underscore, complying with section 4.13 of the Debian Policy.
Git-Dch: Full
---
debian/control | 4 +++-
debian/rules | 7 +++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 5d30b28..c8917ef 100644
--- a/debian/control
+++ b/debian/control
@@ -57,7 +57,9 @@ Description: eXtensible Multi-Dimensional Simulator
Package: xmds2-doc
Architecture: all
Section: doc
-Depends: ${misc:Depends}
+Depends: ${misc:Depends},
+ libjs-jquery,
+ libjs-underscore
Description: documentation for the eXtensible Multi-Dimensional Simulator
XMDS is a code generator that integrates equations, from Ordinary
Differential Equations (ODEs) up to stochastic Partial Differential
diff --git a/debian/rules b/debian/rules
index 3a19496..fe77830 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,3 +49,10 @@ override_dh_auto_clean:
rm -rf build/
( cd examples ; rm -f lorenz.cc lorenz lorenz.xsil lorenz.h5 lorenz.m )
rm -rf testsuite_results $(XMDS_USER_DATA) bin-test
+
+override_dh_installdocs:
+ dh_installdocs
+ ln -fs /usr/share/javascript/underscore/underscore.js \
+ $$(find $(CURDIR)/debian/xmds2-doc -name underscore.js)
+ ln -fs /usr/share/javascript/jquery/jquery.js \
+ $$(find $(CURDIR)/debian/xmds2-doc -name jquery.js)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/xmds2.git
More information about the debian-science-commits
mailing list