mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-25 14:33:29 +08:00
imagemagick: remove *-config scripts from TARGET_DIR
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
0a064b48c9
commit
50e73c6f78
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user