From patchwork Tue Jun 14 15:11:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilles Chanteperdrix X-Patchwork-Id: 635367 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rTY5D3YP4z9t12 for ; Wed, 15 Jun 2016 01:11:28 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D42FE8AE5C; Tue, 14 Jun 2016 15:11:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m0zOUnhhEOlL; Tue, 14 Jun 2016 15:11:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C103F89B32; Tue, 14 Jun 2016 15:11:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id DEC601CE64E for ; Tue, 14 Jun 2016 15:11:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DBD7E85ACD for ; Tue, 14 Jun 2016 15:11:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Improper folded header field made up entirely of whitespace (char 20 hex): X-Spam_report: ...that system for details.\n \n Content previ[...] Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CPBYMBJMqved for ; Tue, 14 Jun 2016 15:11:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd-51317.xenomai.org (sd-51317.xenomai.org [62.210.215.82]) by hemlock.osuosl.org (Postfix) with ESMTPS id 48DF385ACA for ; Tue, 14 Jun 2016 15:11:23 +0000 (UTC) Received: from for13-1-78-194-115-96.fbxo.proxad.net ([78.194.115.96] helo=prometheus.click-hack.org) by sd-51317.xenomai.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1bCpzt-0000S8-9S; Tue, 14 Jun 2016 17:11:21 +0200 From: Gilles Chanteperdrix To: buildroot@buildroot.org Date: Tue, 14 Jun 2016 17:11:15 +0200 Message-Id: <1465917079-30473-1-git-send-email-gilles.chanteperdrix@xenomai.org> X-Mailer: git-send-email 2.8.2 In-Reply-To: <20160614151017.GG3060@hermes.click-hack.org> References: <20160614151017.GG3060@hermes.click-hack.org> X-Spam_score: -1.0 X-Spam_score_int: -9 X-Spam_bar: - X-Spam_report: Spam detection software, running on the system "sd-51317.xenomai.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Remove html and txt documentation from the rootfs as they unlikely to be needed. Signed-off-by: Gilles Chanteperdrix --- package/wireshark/wireshark.mk | 6 ++++++ 1 file changed, 6 insertions(+) [...] Content analysis details: (-1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Cc: Gilles Chanteperdrix Subject: [Buildroot] [PATCH 1/5] wireshark: remove documentation X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Remove html and txt documentation from the rootfs as they unlikely to be needed. Signed-off-by: Gilles Chanteperdrix Reviewed-by: "Yann E. MORIN" --- package/wireshark/wireshark.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk index c7bf6c2..23996a3 100644 --- a/package/wireshark/wireshark.mk +++ b/package/wireshark/wireshark.mk @@ -99,4 +99,10 @@ else WIRESHARK_CONF_OPTS += --with-sbc=no endif +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))