Fix autoconf build BSD install and sysconfdir problems
authorKeith Packard <keithp@keithp.com>
Thu, 1 Aug 2002 15:57:26 +0000 (15:57 +0000)
committerKeith Packard <keithp@keithp.com>
Thu, 1 Aug 2002 15:57:26 +0000 (15:57 +0000)
ChangeLog
Makefile.in
config.h.in
config/Makedefs.in
configure.in
fc-cache/Makefile.in
fc-list/Makefile.in
fontconfig/Makefile.in
src/Makefile.in

index e69de29..5decb0d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -0,0 +1,17 @@
+Tue Jul 30 18:37:09 PDT 2002   keithp
+
+       + Add binding property to edit element so that strong
+         binding values may be inserted by the config file.
+         The default remains weak.
+
+Sun 28 Jul 04:16:55 PDT 2002   keithp
+
+       + Tagged release candidate 1 in the CVS tree and
+         placed fcpackage.rc1.tar.gz for distribution
+
+Thu Aug  1 08:55:08 PDT 2002   keithp
+
+       + Fixed autoconf builds to always specify install
+         target files (for BSD).  Also fixed to
+         define FONTCONFIG_PATH in config.h so that
+         nonstandard installs will actually work.
index f1ed990..bfb24c8 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $XFree86: xc/lib/fontconfig/Makefile.in,v 1.5 2002/05/24 06:25:51 keithp Exp $
+# $XFree86: xc/lib/fontconfig/Makefile.in,v 1.6 2002/05/28 03:50:23 keithp Exp $
 #
 # Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
 #
@@ -71,11 +71,11 @@ $(DESTDIR)$(CONFDIR)/fonts.conf:: fonts.conf
        if [ -f $@ ]; then \
                echo "Not overwriting existing $@"; \
        else \
-               $(INSTALL_DATA) fonts.conf $(DESTDIR)$(CONFDIR); \
+               $(INSTALL_DATA) fonts.conf $(DESTDIR)$(CONFDIR)/fonts.conf; \
        fi
 
 $(DESTDIR)$(CONFDIR)/fonts.dtd:: fonts.dtd
-       $(INSTALL_DATA) fonts.dtd $(DESTDIR)$(CONFDIR)
+       $(INSTALL_DATA) fonts.dtd $(DESTDIR)$(CONFDIR)/fonts.dtd
 
 #
 # install fontconfig-config script
@@ -84,7 +84,7 @@ $(DESTDIR)$(CONFDIR)/fonts.dtd:: fonts.dtd
 install:: $(DESTDIR)$(BINDIR)/fontconfig-config
 
 $(DESTDIR)$(BINDIR)/fontconfig-config: fontconfig-config
-       $(INSTALL_SCRIPT) $< $(DESTDIR)$(BINDIR)
+       $(INSTALL_SCRIPT) $< $(DESTDIR)$(BINDIR)/$<
 
 #
 # install pkgconfig control file
@@ -92,4 +92,4 @@ $(DESTDIR)$(BINDIR)/fontconfig-config: fontconfig-config
 install:: $(DESTDIR)$(LIBDIR)/pkgconfig/fontconfig.pc
 
 $(DESTDIR)$(LIBDIR)/pkgconfig/fontconfig.pc: fontconfig.pc
-       $(INSTALL_DATA) $< $(DESTDIR)$(LIBDIR)/pkgconfig
+       $(INSTALL_DATA) $< $(DESTDIR)$(LIBDIR)/pkgconfig/$<
index be68fa2..9e226b0 100644 (file)
 
 /* Define to `int' if <sys/types.h> does not define. */
 #undef pid_t
+
+/* Define to the directory containing font configuration files */
+#undef FONTCONFIG_PATH
index 1d7d7a1..f3603f7 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $XFree86: xc/lib/fontconfig/config/Makedefs.in,v 1.1 2002/05/21 17:06:21 keithp Exp $
+# $XFree86: xc/lib/fontconfig/config/Makedefs.in,v 1.2 2002/05/21 17:48:15 keithp Exp $
 #
 # Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
 #
@@ -54,13 +54,14 @@ LN_S=@LN_S@
 
 X_FONT_DIR=@X_FONT_DIR@
 FC_DEFAULT_FONTS=@FC_DEFAULT_FONTS@
+FONTCONFIG_PATH=@FONTCONFIG_PATH@
 
 # shared libraries
 LIBDIR=$(libdir)
 # programs
 BINDIR=$(bindir)
 # font configuration files
-CONFDIR=$(sysconfdir)/fonts
+CONFDIR=@CONFDIR@
 # include files
 INCLUDEDIR=$(includedir)/fontconfig
 
index 93b625c..325ff9a 100644 (file)
@@ -1,5 +1,5 @@
 dnl
-dnl $XFree86: xc/lib/fontconfig/configure.in,v 1.5 2002/05/24 05:19:30 keithp Exp $
+dnl $XFree86: xc/lib/fontconfig/configure.in,v 1.6 2002/06/07 17:55:41 keithp Exp $
 dnl
 dnl Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
 dnl
@@ -207,6 +207,18 @@ esac
 AC_SUBST(FC_DEFAULT_FONTS)
 
 #
+# Set CONFDIR and FONTCONFIG_PATH
+#
+
+CONFDIR="$sysconfdir/fonts"
+AC_DEFINE_UNQUOTED(CONFDIR, "$CONFDIR")
+AC_SUBST(CONFDIR)
+
+FONTCONFIG_PATH="$CONFDIR"
+AC_DEFINE_UNQUOTED(FONTCONFIG_PATH, "$CONFDIR")
+AC_SUBST(FONTCONFIG_PATH)
+
+#
 # Check expat/libxml2 configuration
 #
 
index a7aaf60..12a9e8a 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $XFree86: xc/lib/fontconfig/fc-cache/Makefile.in,v 1.2 2002/05/21 17:48:15 keithp Exp $
+# $XFree86: xc/lib/fontconfig/fc-cache/Makefile.in,v 1.3 2002/05/24 06:25:51 keithp Exp $
 #
 # Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
 #
@@ -47,7 +47,7 @@ $(DESTDIR)$(BINDIR):
 install:: $(DESTDIR)$(BINDIR)/$(PROG)
 
 $(DESTDIR)$(BINDIR)/$(PROG): $(PROG)
-       $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(BINDIR)
+       $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(BINDIR)/$<
 
 clean::
        rm -f $(PROG) $(OBJS)
index 8088bb3..b056e0f 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $XFree86: xc/lib/fontconfig/fc-list/Makefile.in,v 1.2 2002/05/21 17:48:15 keithp Exp $
+# $XFree86: xc/lib/fontconfig/fc-list/Makefile.in,v 1.3 2002/05/24 06:25:52 keithp Exp $
 #
 # Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
 #
@@ -47,7 +47,7 @@ $(DESTDIR)$(BINDIR):
 install:: $(DESTDIR)$(BINDIR)/$(PROG)
 
 $(DESTDIR)$(BINDIR)/$(PROG): $(PROG)
-       $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(BINDIR)
+       $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(BINDIR)/$<
 
 clean::
        rm -f $(PROG) $(OBJS)
index a4e7bbb..a84d4b2 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $XFree86: xc/lib/fontconfig/fontconfig/Makefile.in,v 1.1 2002/05/22 22:59:41 keithp Exp $
+# $XFree86: xc/lib/fontconfig/fontconfig/Makefile.in,v 1.2 2002/05/24 06:25:52 keithp Exp $
 #
 # Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
 #
@@ -37,12 +37,12 @@ $(DESTDIR)$(INCLUDEDIR):
        mkdir -p $@
 
 $(DESTDIR)$(INCLUDEDIR)/fcfreetype.h: fcfreetype.h
-       $(INSTALL_DATA) $< $(DESTDIR)$(INCLUDEDIR)
+       $(INSTALL_DATA) $< $(DESTDIR)$(INCLUDEDIR)/$<
        
 $(DESTDIR)$(INCLUDEDIR)/fcprivate.h: fcprivate.h
-       $(INSTALL_DATA) $< $(DESTDIR)$(INCLUDEDIR)
+       $(INSTALL_DATA) $< $(DESTDIR)$(INCLUDEDIR)/$<
        
 $(DESTDIR)$(INCLUDEDIR)/fontconfig.h: fontconfig.h
-       $(INSTALL_DATA) $< $(DESTDIR)$(INCLUDEDIR)
+       $(INSTALL_DATA) $< $(DESTDIR)$(INCLUDEDIR)/$<
 
 clean::
index fc54578..7adeefa 100644 (file)
@@ -106,7 +106,7 @@ install:: $(DESTDIR)$(LIBDIR)/$(LIB) $(DESTDIR)$(LIBDIR)/$(LIBMAJOR)
 install:: $(DESTDIR)$(LIBDIR)/$(LIBBASE)
 
 $(DESTDIR)$(LIBDIR)/$(LIBFILE): $(LIBFILE)
-       $(INSTALL_PROGRAM) $< $(DESTDIR)$(LIBDIR)
+       $(INSTALL_PROGRAM) $< $(DESTDIR)$(LIBDIR)/$<
 
 $(DESTDIR)$(LIBDIR)/$(LIBMAJOR): $(DESTDIR)$(LIBDIR)/$(LIBFILE)
        rm -f $(DESTDIR)$(LIBDIR)/$(LIBMAJOR)