[Buildroot] [PATCHv3 30/74] ndisc6: remove man page related code
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Nov 30 17:05:17 UTC 2014
Thomas, All,
On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> 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 <thomas.petazzoni at free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> ---
> 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 b0e4caf..7235ebb 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_)) \
Since we're now only removing files, shouldn't we just use 'rm -f' now?
Regards,
Yann E. MORIN.
> - $(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.1.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list