[Buildroot] [PATCH 12/34] reproducibility/wireshark: remove documentation
Gilles Chanteperdrix
gilles.chanteperdrix at xenomai.org
Sat Apr 30 07:49:08 UTC 2016
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(+)
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))
--
2.7.4
More information about the buildroot
mailing list