aboutsummaryrefslogtreecommitdiff
path: root/package/freetype
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-07-17 13:20:37 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-07-17 13:20:37 +0000
commit10820e8bb1f3fde247d20eaa10034fc6484eefd3 (patch)
treed1b603a7dee818d5068a994713abfde4962c17ef /package/freetype
parent2fa2806210313e19ea4cdaf25d2d66f483084c19 (diff)
downloadbuildroot-10820e8bb1f3fde247d20eaa10034fc6484eefd3.tar.gz
buildroot-10820e8bb1f3fde247d20eaa10034fc6484eefd3.tar.bz2
freetype: fix target install and clean / dirclean
- target install didn't strip library - clean didn't uninstall from staging / target - dirclean target missing
Diffstat (limited to 'package/freetype')
-rw-r--r--package/freetype/freetype.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
index 6cbef9cc12..17c484ef27 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