From 10820e8bb1f3fde247d20eaa10034fc6484eefd3 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 17 Jul 2008 13:20:37 +0000 Subject: freetype: fix target install and clean / dirclean - target install didn't strip library - clean didn't uninstall from staging / target - dirclean target missing --- package/freetype/freetype.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index 6cbef9cc1..17c484ef2 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -48,13 +48,19 @@ $(FREETYPE_DIR)/.installed: $(FREETYPE_DIR)/.compiled $(SED) "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/freetype-config $(SED) "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include\',g" $(STAGING_DIR)/usr/bin/freetype-config $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/bin/freetype-config + $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libfreetype.so touch $@ freetype: uclibc pkgconfig $(FREETYPE_DIR)/.installed freetype-clean: + -$(MAKE) -C $(FREETYPE_DIR) DESTDIR=$(STAGING_DIR) uninstall + -$(MAKE) -C $(FREETYPE_DIR) DESTDIR=$(TARGET_DIR) uninstall -$(MAKE) -C $(FREETYPE_DIR) clean +freetype-dirclean: + rm -rf $(FREETYPE_DIR) + ############################################################# # # Toplevel Makefile options -- cgit v1.2.3