From 51d973a622c9befc8caa6445e7e98aca2e1ded94 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:18 +0100 Subject: [PATCH] ndisc6: remove man page related code The target-finalize target takes care of removing $(TARGET_DIR)/usr/share/man, so there's no point in having package specific code doing this. Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/ndisc6/ndisc6.mk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/package/ndisc6/ndisc6.mk b/package/ndisc6/ndisc6.mk index cd43b01a3a..f431035cd3 100644 --- a/package/ndisc6/ndisc6.mk +++ b/package/ndisc6/ndisc6.mk @@ -27,14 +27,9 @@ NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RDNSSD) += rdnssd NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RLTRACEROUTE6) += rltraceroute6 tracert6 NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_TCPTRACEROUTE6) += tcptraceroute6 -NDISC6_MAN1_ = $(addsuffix .1,$(NDISC6_BIN_)) -NDISC6_MAN8_ = $(addsuffix .8,$(NDISC6_SBIN_)) - define NDISC6_REMOVE_UNNEEDED rm -rf $(addprefix $(TARGET_DIR)/usr/bin/,$(NDISC6_BIN_)) \ - $(addprefix $(TARGET_DIR)/usr/sbin/,$(NDISC6_SBIN_)) \ - $(addprefix $(TARGET_DIR)/usr/share/man/man1/,$(NDISC6_MAN1_)) \ - $(addprefix $(TARGET_DIR)/usr/share/man/man8/,$(NDISC6_MAN8_)) + $(addprefix $(TARGET_DIR)/usr/sbin/,$(NDISC6_SBIN_)) $(if $(BR2_PACKAGE_NDISC6_RDNSSD),,\ rm -rf $(TARGET_DIR)/etc/rdnssd $(TARGET_DIR)/var/run/rdnssd) endef -- 2.30.2