diff --git a/debian/control b/debian/control index e314a35c..2210e798 100644 --- a/debian/control +++ b/debian/control @@ -24,7 +24,7 @@ Description: Python modules for image processing Package: python-scikits.image-doc Architecture: all Section: doc -Depends: ${misc:Depends}, libjs-jquery +Depends: ${misc:Depends}, libjs-jquery, libjs-underscore Suggests: python-scikits.image Description: Documentation and examples for scikits-image This package contains documentation and example scripts for diff --git a/debian/python-scikits.image-doc.links b/debian/python-scikits.image-doc.links new file mode 100644 index 00000000..7e9acc12 --- /dev/null +++ b/debian/python-scikits.image-doc.links @@ -0,0 +1,2 @@ +usr/share/javascript/jquery/jquery.js usr/share/doc/python-scikits.statsmodels-doc/html/_static/jquery.js +usr/share/javascript/underscore/underscore.js usr/share/doc/python-scikits.statsmodels-doc/html/_static/underscore.js diff --git a/debian/rules b/debian/rules index f1b57a41..bb121983 100755 --- a/debian/rules +++ b/debian/rules @@ -54,8 +54,9 @@ endif mv $$lib $$tdir ; \ done - : # Use jquery from Debian package, so prune shipped one + : # Use jquery and underscore from Debian package, so prune shipped one -rm -f doc/build/html/_static/jquery.js + -rm -f doc/build/html/_static/underscore.js -rf -f doc/build/html/_sources -rf -f doc/build/html/.buildinfo @@ -74,5 +75,3 @@ override_dh_compress: override_dh_installdocs: dh_installdocs -A CONTRIBUTORS.txt README.txt DEVELOPMENT.txt TASKS.txt - dh_link /usr/share/javascript/jquery/jquery.js \ - /usr/share/doc/$(PACKAGE_NAME)-doc/html/_static/jquery.js