Commit 15ca4eab authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

Merge branch 'for-2011.05/remove-config-scripts' of git://git.busybox.net/~tpetazzoni/git/buildroot

parents 034b92c6 efeebdbd
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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))
+8 −0
Original line number Diff line number Diff line
@@ -31,4 +31,12 @@ endef

LIBDNET_POST_EXTRACT_HOOKS += LIBDNET_FIXUP_ACINCLUDE_M4

define LIBDNET_REMOVE_CONFIG_SCRIPT
	$(RM) -f $(TARGET_DIR)/usr/bin/dnet-config
endef

ifneq ($(BR2_HAVE_DEVFILES),y)
LIBDNET_POST_INSTALL_TARGET_HOOKS += LIBDNET_REMOVE_CONFIG_SCRIPT
endif

$(eval $(call AUTOTARGETS,package,libdnet))
+9 −0
Original line number Diff line number Diff line
@@ -22,5 +22,14 @@ endef

LIBPNG_POST_INSTALL_STAGING_HOOKS += LIBPNG_STAGING_LIBPNG12_CONFIG_FIXUP

define LIBPNG_REMOVE_CONFIG_SCRIPTS
	$(RM) -f $(TARGET_DIR)/usr/bin/libpng$(LIBPNG_SERIES)-config \
		 $(TARGET_DIR)/usr/bin/libpng-config
endef

ifneq ($(BR2_HAVE_DEVFILES),y)
LIBPNG_POST_INSTALL_TARGET_HOOKS += LIBPNG_REMOVE_CONFIG_SCRIPTS
endif

$(eval $(call AUTOTARGETS,package,libpng))
$(eval $(call AUTOTARGETS,package,libpng,host))
+8 −0
Original line number Diff line number Diff line
@@ -30,6 +30,14 @@ HOST_LIBXML2_CONF_OPT = \
		--enable-shared --without-debugging --without-python \
		--without-threads

define LIBXML2_REMOVE_CONFIG_SCRIPTS
	$(RM) -f $(TARGET_DIR)/usr/bin/xml2-config
endef

ifneq ($(BR2_HAVE_DEVFILES),y)
LIBXML2_POST_INSTALL_TARGET_HOOKS += LIBXML2_REMOVE_CONFIG_SCRIPTS
endif

$(eval $(call AUTOTARGETS,package,libxml2))
$(eval $(call AUTOTARGETS,package,libxml2,host))

+8 −0
Original line number Diff line number Diff line
@@ -39,5 +39,13 @@ endef

LIBXSLT_POST_INSTALL_STAGING_HOOKS += LIBXSLT_XSLT_CONFIG_FIXUP

define LIBXSLT_REMOVE_CONFIG_SCRIPTS
	$(RM) -f $(TARGET_DIR)/usr/bin/xslt-config
endef

ifneq ($(BR2_HAVE_DEVFILES),y)
LIBXSLT_POST_INSTALL_TARGET_HOOKS += LIBXSLT_REMOVE_CONFIG_SCRIPTS
endif

$(eval $(call AUTOTARGETS,package,libxslt))
$(eval $(call AUTOTARGETS,package,libxslt,host))
Loading