[lammps] 11/12: Remove embedded js-scripts.
Anton Gladky
gladk at moszumanska.debian.org
Wed Nov 18 21:19:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository lammps.
commit 7fe6df7f3f7c17f3fa44f6dd323bd080bb4f9397
Author: Anton Gladky <gladk at debian.org>
Date: Wed Nov 18 21:49:39 2015 +0100
Remove embedded js-scripts.
---
debian/control | 5 ++++-
debian/lammps-doc.links | 3 +++
debian/rules | 3 ++-
3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 0333b52..185851d 100644
--- a/debian/control
+++ b/debian/control
@@ -37,7 +37,10 @@ Description: Molecular Dynamics Simulator
Package: lammps-doc
Architecture: all
Section: doc
-Depends: ${misc:Depends}
+Depends: ${misc:Depends},
+ libjs-mathjax,
+ libjs-jquery,
+ libjs-underscore
Description: Molecular Dynamics Simulator. Documentation and examples
LAMMPS is a classical molecular dynamics code, and an acronym for Large-scale
Atomic/Molecular Massively Parallel Simulator.
diff --git a/debian/lammps-doc.links b/debian/lammps-doc.links
new file mode 100644
index 0000000..57a9b50
--- /dev/null
+++ b/debian/lammps-doc.links
@@ -0,0 +1,3 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/lammps-doc/doc/_static/jquery.js
+usr/share/javascript/underscore/underscore.js usr/share/doc/lammps-doc/doc/_static/underscore.js
+
diff --git a/debian/rules b/debian/rules
index 427421a..dc45454 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,4 +29,5 @@ endif
override_dh_fixperms-indep:
dh_fixperms -i
find $(CURDIR)/debian/lammps-doc/usr/share/doc/lammps-doc/examples/USER/ -type f -print -exec chmod 644 {} \;
-
+ find $(CURDIR)/debian/lammps-doc/usr/share/doc/lammps-doc/examples/vashishta/ -type f -print -exec chmod 644 {} \;
+ find $(CURDIR)/debian/lammps-doc/usr/share/doc/lammps-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/cdn\.mathjax\.org\/mathjax\/latest\/MathJax.js?config=TeX-AMS-MML_HTMLorMML/\/usr\/share\/javascript\/mathjax\/config\/TeX-AMS-MML_HTMLorMML\.js/g'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lammps.git
More information about the debian-science-commits
mailing list