summaryrefslogtreecommitdiffstats
path: root/package/imagemagick
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-22 18:21:35 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-03-07 22:22:30 +0100
commit50e73c6f783d38c17d7bafc4bcfd9a6e826b0d73 (patch)
tree736b9ebcd0947f74efdf29844260b16e07c045f9 /package/imagemagick
parent0a064b48c9d1044b05aee65272f5af7f28879473 (diff)
downloadbuildroot-novena-50e73c6f783d38c17d7bafc4bcfd9a6e826b0d73.tar.gz
buildroot-novena-50e73c6f783d38c17d7bafc4bcfd9a6e826b0d73.zip
imagemagick: remove *-config scripts from TARGET_DIR
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/imagemagick')
-rw-r--r--package/imagemagick/imagemagick.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index 97c00410f..7955db7f5 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))