diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2014-09-09 14:28:01 +0100 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2014-09-09 15:59:32 +0100 |
commit | 933878f2c8ad208470a1de2a88fd5332b7d33732 (patch) | |
tree | 385da40aeeb2a3c494ca8ce8af7f1f31aabacf27 | |
parent | d54409dcd3840300064feef63cb9defe1f3530c0 (diff) | |
download | dnsmasq-933878f2c8ad208470a1de2a88fd5332b7d33732.tar.gz |
Remove paypal links and icond refs from Debian package.
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | doc.html | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index 485559e..84cfd56 100755 --- a/debian/rules +++ b/debian/rules @@ -132,7 +132,9 @@ binary-arch: checkroot -d debian/base/var/lib/misc make $(TARGET) PREFIX=/usr DESTDIR=`pwd`/debian/base CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" COPTS="$(DEB_COPTS)" CC=gcc ifeq (,$(findstring nodocs,$(DEB_BUILD_OPTIONS))) - install -m 644 doc.html debian/base/usr/share/doc/$(package)/. +# Need to remove paypal links in Debian Package for policy reasons. + sed -e /\<H2\>Donations/Q -e /icon.png/d doc.html -e /favicon.ico/d >debian/base/usr/share/doc/$(package)/doc.html + echo "</BODY>" >>debian/base/usr/share/doc/$(package)/doc.html install -m 644 setup.html debian/base/usr/share/doc/$(package)/. install -m 644 dnsmasq.conf.example debian/base/usr/share/doc/$(package)/examples/. install -m 644 trust-anchors.conf debian/base/usr/share/$(package)/. @@ -1,8 +1,7 @@ <HTML> <HEAD> <TITLE> Dnsmasq - network services for small networks.</TITLE> -<link rel="icon" - href="http://www.thekelleys.org.uk/dnsmasq/images/favicon.ico"> +<link rel="icon" href="http://www.thekelleys.org.uk/dnsmasq/images/favicon.ico"> </HEAD> <BODY BGCOLOR="WHITE"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> |