Fix autoconf build BSD install and sysconfdir problems
This commit is contained in:
parent
c2e9d0240b
commit
aefb2c41c8
17
ChangeLog
17
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.
|
10
Makefile.in
10
Makefile.in
|
@ -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/$<
|
||||
|
|
|
@ -142,3 +142,6 @@
|
|||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
#undef pid_t
|
||||
|
||||
/* Define to the directory containing font configuration files */
|
||||
#undef FONTCONFIG_PATH
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
14
configure.in
14
configure.in
|
@ -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
|
||||
|
@ -206,6 +206,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
|
||||
#
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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::
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue