]> git.wh0rd.org - fontconfig.git/blobdiff - Makefile.in
Add pkgconfig control file and fontconfig-config script
[fontconfig.git] / Makefile.in
index 3d7d8cdc5a27adada674ff3208cec50c3e3c5f11..f97c7533c5d56ae35a7392ff7309c00dd6aba2d4 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $XFree86$
+# $XFree86: xc/lib/fontconfig/Makefile.in,v 1.2 2002/05/21 17:48:15 keithp Exp $
 #
 # Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
 #
@@ -22,7 +22,9 @@
 # PERFORMANCE OF THIS SOFTWARE.
 #
 
-DEPTH         = .
+TOPDIR         = .
+
+include $(TOPDIR)/config/Makedefs
 
 DIRS          = src fc-cache fc-list fontconfig
 
@@ -50,3 +52,15 @@ $(CONFDIR)/fonts.dtd:: fonts.dtd
 clean::
        rm -f fonts.conf
 
+install:: $(BINDIR)/fontconfig-config
+
+$(BINDIR)/fontconfig-config: fontconfig-config
+       $(INSTALL_SCRIPT) $< $(BINDIR)
+
+install:: $(LIBDIR)/pkgconfig $(LIBDIR)/pkgconfig/fontconfig.pc
+
+$(LIBDIR)/pkgconfig:
+       mkdir -p $@
+
+$(LIBDIR)/pkgconfig/fontconfig.pc: fontconfig.pc
+       $(INSTALL_DATA) $< $(LIBDIR)/pkgconfig