summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/wireshark/wireshark.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
index 59670f9396..55f931b3bd 100644
--- a/package/wireshark/wireshark.mk
+++ b/package/wireshark/wireshark.mk
@@ -99,4 +99,11 @@ else
WIRESHARK_CONF_OPTS += --with-sbc=no
endif
+define WIRESHARK_REMOVE_DOCS
+ find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \
+ -o -name '*.html' -print0 | xargs -0 rm -f
+endef
+
+WIRESHARK_POST_INSTALL_TARGET_HOOKS += WIRESHARK_REMOVE_DOCS
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud