[Fontconfig] /var/cache/fontconfig/stamp

Behdad Esfahbod behdad at cs.toronto.edu
Mon Jan 30 12:22:28 PST 2006


On Sun, 29 Jan 2006, Patrick Lam wrote:

> Stephan Kulow wrote:
> > On Wednesday, 25. January 2006 01:11, Patrick Lam wrote:
> >
> >>If anyone knows how to make fontconfig create /var/cache/fontconfig
> >>without creating stamp, that would be great.
> >
> >
> > Hmm, not sure where the problems are, but why not this way?
> >
> > install-data-local:
> > 	$(mkinstalldirs) $(DESTDIR)$(pkgcachedir)
> >
> > uninstall-local:
> > 	$(RM) -rf "$(DESTDIR)$(pkgcachedir)"
>
> Can you send me a patch for this which backs out the 'stamp' target as
> well?  Behdad sent a message to the list a while back with the stamp
> patch...

Attached.  Untested.

> pat
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fontconfig
>
>

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"
-------------- next part --------------
Index: fc-cache/Makefile.am
===================================================================
RCS file: /cvs/fontconfig/fontconfig/fc-cache/Makefile.am,v
retrieving revision 1.10.4.3
diff -u -p -r1.10.4.3 Makefile.am
--- fc-cache/Makefile.am	21 Dec 2005 03:31:19 -0000	1.10.4.3
+++ fc-cache/Makefile.am	30 Jan 2006 20:18:29 -0000
@@ -29,19 +29,12 @@ SGML = ${FC_CACHE_SRC}/fc-cache.sgml
 
 AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"'
 
-pkgcache_DATA=stamp
+install-data-local:
+	$(mkinstalldirs) "$(DESTDIR)$(pkgcachedir)"
 
-uninstall-pkgcacheDATA:
-	@$(NORMAL_UNINSTALL)
-	echo " $(RM) -rf '$(DESTDIR)$(pkgcachedir)'"; \
+uninstall-local:
 	$(RM) -rf "$(DESTDIR)$(pkgcachedir)"
 
-clean-generic:
-	$(RM) stamp
-
-stamp:
-	touch $@
-
 INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS)
 
 bin_PROGRAMS=fc-cache


More information about the Fontconfig mailing list