use rust-doc.links instead of explicit rule

This commit is contained in:
Ximin Luo 2015-08-31 20:34:14 +02:00
parent a2df95d4e3
commit 52efbfffe4
2 changed files with 1 additions and 3 deletions

3
debian/rules vendored
View File

@ -110,9 +110,6 @@ ifneq (,$(BUILD_DOCS))
done
find $(DEB_DESTDIR) \( -iname '*.html' -empty -o -name .lock -o -name '*.inc' \) -delete
find $(DEB_DESTDIR)/usr/share/doc -name jquery.js \
-exec ln -sf /usr/share/javascript/jquery/jquery.js '{}' \;
endif
override_dh_install:

1
debian/rust-doc.links vendored Normal file
View File

@ -0,0 +1 @@
usr/share/javascript/jquery/jquery.js usr/share/doc/rust-doc/html/jquery.js