diff mbox

[12/34] reproducibility/wireshark: remove documentation

Message ID 1462002570-14706-12-git-send-email-gilles.chanteperdrix@xenomai.org
State Changes Requested
Headers show

Commit Message

Gilles Chanteperdrix April 30, 2016, 7:49 a.m. UTC
HTML documentation contains a link to a mail address specific to
the distribution of the build machine. Remove html documentation
from the rootfs as it is unlikely to be needed. At this chance
also remove the txt documentation.
---
 package/wireshark/wireshark.mk | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Thomas Petazzoni May 7, 2016, 1:30 p.m. UTC | #1
Hello,

On Sat, 30 Apr 2016 09:49:08 +0200, Gilles Chanteperdrix wrote:
> HTML documentation contains a link to a mail address specific to
> the distribution of the build machine. Remove html documentation
> from the rootfs as it is unlikely to be needed. At this chance
> also remove the txt documentation.
> ---
>  package/wireshark/wireshark.mk | 6 ++++++
>  1 file changed, 6 insertions(+)

If this one had your Signed-off-by, I could have applied it. Can you
respin?

Thomas
diff mbox

Patch

diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
index ffadf80..43adb1e 100644
--- a/package/wireshark/wireshark.mk
+++ b/package/wireshark/wireshark.mk
@@ -28,4 +28,10 @@  WIRESHARK_CONF_OPTS = \
 	--with-libsmi=no \
 	--includedir=$(STAGING_DIR)/usr/include
 
+define WIRESHARK_REMOVE_DOCS
+	find $(TARGET_DIR)/usr/share/wireshark -\( -name '*.txt' -o -name '*.html' -\) -delete
+endef
+
+WIRESHARK_POST_INSTALL_TARGET_HOOKS += WIRESHARK_REMOVE_DOCS
+
 $(eval $(autotools-package))