[Fontconfig] fix Makefile.am: Create one directory at a time

Keith Packard keithp at keithp.com
Wed Sep 20 23:43:13 PDT 2006


On Wed, 2006-09-20 at 21:08 -0500, Jeremy C. Reed wrote:
> Please consider the following patch.
> 
> This is from joerg of NetBSD in the pkgsrc collection with its log message 
> of "Create one directory at a time, Solaris install doesn't like multiple
> arguments."
> 
> (The patch in pkgsrc is for Makefile.in so I redid for Makefile.am.)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 88e55af..e0b372a 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -85,7 +85,8 @@ ChangeLog: $(srcdir)/ChangeLog
>  .PHONY: ChangeLog $(srcdir)/ChangeLog
>  
>  install-data-local:
> -	$(mkinstalldirs) $(DESTDIR)$(configdir) $(DESTDIR)$(fc_cachedir)
> +	$(mkinstalldirs) $(DESTDIR)$(configdir)
> +	$(mkinstalldirs) $(DESTDIR)$(fc_cachedir)
>  	if [ -f $(DESTDIR)$(configdir)/fonts.conf ]; then \
>  	  echo "backing up existing $(DESTDIR)$(configdir)/fonts.conf"; \
>  	  mv $(DESTDIR)$(configdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf.bak; \
> 
> 
> If you want me to commit this, tell me and I will try. I am still learning 
> git.

Please feel free to give it a whirl; if you don't have direct commit
access to the fontconfig repository, go ahead and just publish your own
repository with the patch in place; doing a git-pull is *far* easier
than applying patches by hand (although the above patch is certainly
trivial enough).

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20060920/275bf118/attachment.pgp


More information about the Fontconfig mailing list