Remove the favicon from the doc

This commit is contained in:
Sylvestre Ledru 2015-01-21 19:10:25 +01:00
parent 1d86d79e8a
commit 6fce0a9982
4 changed files with 8 additions and 15 deletions

2
debian/changelog vendored
View File

@ -14,7 +14,7 @@ rust (1.0.0~alpha-0~exp1) experimental; urgency=low
* Add a TODO list
* Enable the testsuite
* Use rust.manpages
* Disable the favicon (lintian complains about it)
* Remove the favicon from the doc
-- Jordan Justen <jordan.l.justen@intel.com> Mon, 12 Jan 2015 00:35:31 -0800

View File

@ -1,13 +0,0 @@
Index: debian-rust/doc/favicon.inc
===================================================================
--- debian-rust.orig/doc/favicon.inc
+++ debian-rust/doc/favicon.inc
@@ -1 +1 @@
-<link rel="shortcut icon" href="http://www.rust-lang.org/favicon.ico">
+
Index: debian-rust/src/doc/favicon.inc
===================================================================
--- debian-rust.orig/src/doc/favicon.inc
+++ debian-rust/src/doc/favicon.inc
@@ -1 +0,0 @@
-<link rel="shortcut icon" href="http://www.rust-lang.org/favicon.ico">

View File

@ -1 +0,0 @@
disable-favicon.diff

7
debian/rules vendored
View File

@ -80,3 +80,10 @@ override_dh_auto_install:
dh_link usr/bin/rustdoc-$(DEBIAN_RUST_VERSION) usr/bin/rustdoc
dh_link $(RUST_PREFIX)/bin/rust-gdb usr/bin/rust-gdb-$(DEBIAN_RUST_VERSION)
dh_link usr/bin/rust-gdb-$(DEBIAN_RUST_VERSION) usr/bin/rust-gdb
override_dh_install:
# Brute force to remove privacy-breach-logo lintian warning.
# We could have updated the upstream sources but it would complexify
# the rebase
sed -i '/rel="shortcut icon" href="http:\/\/www.rust-lang.org\/favicon.ico"/d' `find $(DEB_DESTDIR) -iname '*.html'`
dh_install