diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-07-17 13:20:37 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-07-17 13:20:37 +0000 |
commit | 10820e8bb1f3fde247d20eaa10034fc6484eefd3 (patch) | |
tree | d1b603a7dee818d5068a994713abfde4962c17ef /package/freetype | |
parent | 2fa2806210313e19ea4cdaf25d2d66f483084c19 (diff) | |
download | buildroot-novena-10820e8bb1f3fde247d20eaa10034fc6484eefd3.tar.gz buildroot-novena-10820e8bb1f3fde247d20eaa10034fc6484eefd3.zip |
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.mk | 6 |
1 files changed, 6 insertions, 0 deletions
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 |