Commit 9e1af99b authored by Keith Packard's avatar Keith Packard
Browse files

Build fc-lang, install local.conf

parent dda27aa9
......@@ -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
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment