From 965e0d7ea012e90f80ef0c057fb61438797ec298 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Mon, 13 Oct 2014 14:50:33 +0200 Subject: [PATCH] Remove shiped html files from binaries --- debian/control | 2 +- debian/hapolicy.docs | 1 - debian/postfwd.docs | 3 ++- debian/rules | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index d3c22e8..b568b95 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: postfwd Section: mail Priority: optional Maintainer: Jan Wagner -Build-Depends: debhelper (>= 9) +Build-Depends: debhelper (>= 9), html2text Homepage: http://www.postfwd.org/ Vcs-Browser: https://gitlab.uncompleted.org/debian/postfwd Vcs-Git: https://gitlab.uncompleted.org/debian/postfwd.git diff --git a/debian/hapolicy.docs b/debian/hapolicy.docs index 120886a..8216e68 100644 --- a/debian/hapolicy.docs +++ b/debian/hapolicy.docs @@ -1,4 +1,3 @@ -doc/hapolicy.html doc/hapolicy.txt tools/hapolicy/hapolicy.* tools/hapolicy/hapolicy[0-9a-zA-Z.]* diff --git a/debian/postfwd.docs b/debian/postfwd.docs index 753f8d5..82d267e 100644 --- a/debian/postfwd.docs +++ b/debian/postfwd.docs @@ -1,4 +1,5 @@ doc/postfwd2.CHANGELOG -doc/*.html +doc/postfwd-ARCH.png doc/*.txt +debian/tmp/*.txt tools/*.pl diff --git a/debian/rules b/debian/rules index c4c283e..7ad15e3 100755 --- a/debian/rules +++ b/debian/rules @@ -27,6 +27,8 @@ install: build # install man page mkdir -p debian/tmp/ cp man/man8/postfwd.8 debian/tmp/postfwd1.8 + html2text doc/quick.html > debian/tmp/quick.txt + html2text doc/versions.html > debian/tmp/versions.txt pod2man debian/hapolicy/usr/sbin/hapolicy man/man8/hapolicy.1 # Build architecture-independent files here.