Use jquery package

This commit is contained in:
Sylvestre Ledru 2015-04-12 22:09:12 +02:00
parent 4c74b6d2a5
commit 3576302d88
2 changed files with 3 additions and 1 deletions

2
debian/control vendored
View File

@ -62,7 +62,7 @@ Package: rust-doc
Section: doc
Architecture: all
Build-Profiles: <!nodoc>
Depends: ${misc:Depends}
Depends: ${misc:Depends}, libjs-jquery
Description: Rust systems programming language - Documentation
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly

2
debian/rules vendored
View File

@ -116,6 +116,8 @@ override_dh_install:
if test "$(BUILD_DOCS)" = "1"; then \
sed -i '/rel="shortcut icon" href="http:\/\/www.rust-lang.org\/favicon.ico"/d' `find $(DEB_DESTDIR) -iname '*.html'`; \
rm -f `find $(DEB_DESTDIR) -iname '*.html' -empty` $(DEB_DESTDIR)/usr/share/doc/rust-doc/html/.lock; \
cd $(DEB_DESTDIR)/usr/lib/*/rust/*/share/doc/rust/html/ && rm -f jquery.js && \
ln -s /usr/share/javascript/jquery/jquery.js; \
fi
dh_install