Commit 505667c6ee26084d7ff3d9664c1349d3754d3fe4

David Turner 2006-03-20T12:13:14

* builds/unix/install.mk: changing the installation procedure to remove the 'freetype/cache' from the target directory.

diff --git a/ChangeLog b/ChangeLog
index 06c78a0..72be870 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2006-03-20 David Turner  <david@freetype.org>
 
+    * builds/unix/install.mk:
+      changing the installation procedure to remove the 'freetype/cache'
+      from the target directory.
+
     * include/freetype/cache/ftccache.h,
     include/freetype/cache/ftccmap.h,
     include/freetype/cache/ftcglyph.h
diff --git a/builds/unix/install.mk b/builds/unix/install.mk
index 5f98557..d835589 100644
--- a/builds/unix/install.mk
+++ b/builds/unix/install.mk
@@ -44,10 +44,8 @@ install: $(PROJECT_LIBRARY)
           $(INSTALL_DATA)                                           \
             $$P $(DESTDIR)$(includedir)/freetype2/freetype/config ; \
         done
-	-for P in $(CACHE_H) ; do                                  \
-          $(INSTALL_DATA)                                          \
-            $$P $(DESTDIR)$(includedir)/freetype2/freetype/cache ; \
-        done
+	-$(DELETE° $(DESTDIR)$(includedir)/freetype2/freetype/cache/*
+	-$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/cache
 	-$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/internal/*
 	-$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/internal
 	$(INSTALL_DATA) $(BUILD_DIR)/ft2unix.h \