Build fc-lang, install local.conf

This commit is contained in:
Keith Packard 2003-02-07 00:13:37 +00:00
parent dda27aa9ee
commit 9e1af99b17
1 changed files with 12 additions and 7 deletions

View 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
if [ -f $@ ]; then \
echo "Not overwriting existing $@"; \
else \
$(INSTALL_DATA) fonts.conf $(DESTDIR)$(CONFDIR)/fonts.conf; \
fi
$(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) local.conf $(DESTDIR)$(CONFDIR)/local.conf; \
fi
#
# install fontconfig-config script
#