imagemagick: remove *-config scripts from TARGET_DIR

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2010-12-22 18:21:35 +01:00
parent 0a064b48c9
commit 50e73c6f78

View File

@ -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))