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

Jeremy C. Reed reed at reedmedia.net
Wed Sep 20 19:08:41 PDT 2006


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.


More information about the Fontconfig mailing list