From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:23 +0000 (+0100) Subject: gnupg: don't bother removing a man page X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05ef5316d0f6a74187cad0d0778f12ac044f8517;p=buildroot.git gnupg: don't bother removing a man page The target-finalize target in the main Makefile removes $(TARGET_DIR)/usr/share/man entirely, so there's no point in having some package specific logic to remove man pages. Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- diff --git a/package/gnupg/gnupg.mk b/package/gnupg/gnupg.mk index e7c403a71d..c0bf88c422 100644 --- a/package/gnupg/gnupg.mk +++ b/package/gnupg/gnupg.mk @@ -39,8 +39,7 @@ endif ifneq ($(BR2_PACKAGE_GNUPG_GPGV),y) define GNUPG_REMOVE_GPGV - rm -f $(TARGET_DIR)/usr/bin/gpgv \ - $(TARGET_DIR)/usr/share/man/man1/gpgv.1 + rm -f $(TARGET_DIR)/usr/bin/gpgv endef GNUPG_POST_INSTALL_TARGET_HOOKS += GNUPG_REMOVE_GPGV endif