Why is fontconfig installing this file ? It doesn''t seem to be used by fc-cache at all... Matthias
On Tue, 24 Jan 2006, Matthias Clasen wrote:> Why is fontconfig installing this file ? > It doesn''t seem to be used by fc-cache at all...Blame it on me... It was the easiest way to have automake create that directory at instal time... --behdad http://behdad.org/ "Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill" -- Dan Bern, "New American Language"
On Tue, 24 Jan 2006 14:18:57 -0500 (EST), Behdad Esfahbod wrote:> > > Why is fontconfig installing this file ? > > It doesn''t seem to be used by fc-cache at all... > > Blame it on me... It was the easiest way to have automake create > that directory at instal time...Oh, that''s funny. I should have asked about that before making the packaging go out of its way to create that file... -Carl -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20060125/c624f129/attachment.pgp
Carl Worth wrote:> On Tue, 24 Jan 2006 14:18:57 -0500 (EST), Behdad Esfahbod wrote: > >>>Why is fontconfig installing this file ? >>>It doesn''t seem to be used by fc-cache at all... >> >>Blame it on me... It was the easiest way to have automake create >>that directory at instal time... > > > Oh, that''s funny. > > I should have asked about that before making the packaging go out of > its way to create that file...If anyone knows how to make fontconfig create /var/cache/fontconfig without creating stamp, that would be great. pat
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)" Greetings, Stephan
On Tue, 2006-01-24 at 19:11 -0500, Patrick Lam wrote:> Carl Worth wrote: > > On Tue, 24 Jan 2006 14:18:57 -0500 (EST), Behdad Esfahbod wrote: > > > >>>Why is fontconfig installing this file ? > >>>It doesn''t seem to be used by fc-cache at all... > >> > >>Blame it on me... It was the easiest way to have automake create > >>that directory at instal time... > > > > > > Oh, that''s funny. > > > > I should have asked about that before making the packaging go out of > > its way to create that file... > > If anyone knows how to make fontconfig create /var/cache/fontconfig > without creating stamp, that would be great. >Can''t you just use something like the following ? install-data-hook: mkdir -p /var/cache/fontconfig
On Wed, 25 Jan 2006, Matthias Clasen wrote:> Can''t you just use something like the following ? > > install-data-hook: > mkdir -p /var/cache/fontconfigNot quite. What Stephan Kulow wrote is a better choice, but fontconfig should never $(RM) -r that directory on uninstall. --behdad http://behdad.org/ "Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill" -- Dan Bern, "New American Language"
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... pat
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@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
Behdad Esfahbod wrote:>>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.Works for me. Committed. pat