diff options
| author | Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> | 2016-06-14 17:11:15 +0200 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2016-06-14 22:33:37 +0200 |
| commit | 0fee4f51ac6bc7c99b2ded8444f03ff42d885679 (patch) | |
| tree | 0dd00a1be505301e969ee90b845cfcc6b5973edc | |
| parent | bf20a49d4c2f064015b4d437a7cd98c6dd8ce4ff (diff) | |
| download | buildroot-0fee4f51ac6bc7c99b2ded8444f03ff42d885679.tar.gz buildroot-0fee4f51ac6bc7c99b2ded8444f03ff42d885679.zip | |
wireshark: remove documentation
Remove html and txt documentation from the rootfs as they unlikely to be
needed.
[Peter: use xargs instead of GNU extensions as suggested by Yann]
Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| -rw-r--r-- | package/wireshark/wireshark.mk | 7 |
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)) |

