summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-22 17:21:35 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-03-07 21:22:30 (GMT)
commit50e73c6f783d38c17d7bafc4bcfd9a6e826b0d73 (patch)
tree736b9ebcd0947f74efdf29844260b16e07c045f9
parent0a064b48c9d1044b05aee65272f5af7f28879473 (diff)
downloadbuildroot-50e73c6f783d38c17d7bafc4bcfd9a6e826b0d73.tar.gz
buildroot-50e73c6f783d38c17d7bafc4bcfd9a6e826b0d73.tar.bz2
imagemagick: remove *-config scripts from TARGET_DIR
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-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 97c0041..7955db7 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))