]> git.wh0rd.org - fontconfig.git/commitdiff
Build fc-lang, install local.conf
authorKeith Packard <keithp@keithp.com>
Fri, 7 Feb 2003 00:13:37 +0000 (00:13 +0000)
committerKeith Packard <keithp@keithp.com>
Fri, 7 Feb 2003 00:13:37 +0000 (00:13 +0000)
Makefile.in

index 69ea96c137f4a70184370ebd4a7840a9d4e5b78d..053197a83294eaeb5f49eb531e0a3ee49e3ce55a 100644 (file)
@@ -26,7 +26,7 @@ TOPDIR         = .
 
 include $(TOPDIR)/config/Makedefs
 
-DIRS          = src fc-cache fc-list fontconfig
+DIRS          = fc-lang src fc-cache fc-list fontconfig
 
 all install clean::
        for d in $(DIRS); do (cd $$d && $(MAKE) $@) || exit 1; done
@@ -65,18 +65,23 @@ $(DESTDIR)$(LIBDIR)/pkgconfig:
 #
 # install config files
 #
-install:: $(DESTDIR)$(CONFDIR)/fonts.conf $(DESTDIR)$(CONFDIR)/fonts.dtd
+install:: $(DESTDIR)$(CONFDIR)/fonts.conf \
+          $(DESTDIR)$(CONFDIR)/fonts.dtd \
+          $(DESTDIR)$(CONFDIR)/local.conf
 
 $(DESTDIR)$(CONFDIR)/fonts.conf:: fonts.conf
+       $(INSTALL_DATA) fonts.conf $(DESTDIR)$(CONFDIR)/fonts.conf
+
+$(DESTDIR)$(CONFDIR)/fonts.dtd:: fonts.dtd
+       $(INSTALL_DATA) fonts.dtd $(DESTDIR)$(CONFDIR)/fonts.dtd
+
+$(DESTDIR)$(CONFDIR)/local.conf:: local.conf
        if [ -f $@ ]; then \
                echo "Not overwriting existing $@"; \
        else \
-               $(INSTALL_DATA) fonts.conf $(DESTDIR)$(CONFDIR)/fonts.conf; \
+               $(INSTALL_DATA) local.conf $(DESTDIR)$(CONFDIR)/local.conf; \
        fi
 
-$(DESTDIR)$(CONFDIR)/fonts.dtd:: fonts.dtd
-       $(INSTALL_DATA) fonts.dtd $(DESTDIR)$(CONFDIR)/fonts.dtd
-
 #
 # install fontconfig-config script
 #