mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-03 04:20:24 +08:00
PKG: use dh_links (with links specified in .links) to use system-wide installed jquery and underscore
This commit is contained in:
committed by
Stefan van der Walt
parent
21f4391e6c
commit
4db1b8fcac
Vendored
+1
-1
@@ -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
|
||||
|
||||
+2
@@ -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
|
||||
Vendored
+2
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user