summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2014-09-09 14:28:01 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2014-09-09 15:59:32 +0100
commit933878f2c8ad208470a1de2a88fd5332b7d33732 (patch)
tree385da40aeeb2a3c494ca8ce8af7f1f31aabacf27 /debian/rules
parentd54409dcd3840300064feef63cb9defe1f3530c0 (diff)
downloaddnsmasq-933878f2c8ad208470a1de2a88fd5332b7d33732.tar.gz
Remove paypal links and icond refs from Debian package.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 3 insertions, 1 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)/.