From: Thomas Petazzoni Date: Wed, 22 Dec 2010 17:21:35 +0000 (+0100) Subject: imagemagick: remove *-config scripts from TARGET_DIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50e73c6f783d38c17d7bafc4bcfd9a6e826b0d73;p=buildroot.git imagemagick: remove *-config scripts from TARGET_DIR Signed-off-by: Thomas Petazzoni --- diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk index 97c00410f2..7955db7f5d 100644 --- a/package/imagemagick/imagemagick.mk +++ b/package/imagemagick/imagemagick.mk @@ -80,4 +80,14 @@ else IMAGEMAGICK_CONF_OPT += --without-tiff endif +define IMAGEMAGICK_REMOVE_CONFIG_SCRIPTS + $(RM) -f $(addprefix $(TARGET_DIR)/usr/bin/, \ + $(addsuffix -config, \ + Magick MagickCore MagickWand Wand Magick++)) +endef + +ifneq ($(BR2_HAVE_DEVFILES),y) +IMAGEMAGICK_POST_INSTALL_TARGET_HOOKS += IMAGEMAGICK_REMOVE_CONFIG_SCRIPTS +endif + $(eval $(call AUTOTARGETS,package,imagemagick))