- if [ -f $(DESTDIR)$(configdir)/local.conf ]; then \
- echo "not overwriting existing $(DESTDIR)$(configdir)/local.conf"; \
- else if [ -f $(srcdir)/local.conf ]; then \
- echo " $(INSTALL_DATA) $(srcdir)/local.conf $(DESTDIR)$(configdir)/local.conf"; \
- $(INSTALL_DATA) $(srcdir)/local.conf $(DESTDIR)$(configdir)/local.conf; \
- else if [ -f local.conf ]; then \
- echo " $(INSTALL_DATA) local.conf $(DESTDIR)$(configdir)/local.conf"; \
- $(INSTALL_DATA) local.conf $(DESTDIR)$(configdir)/local.conf; \
- fi; fi; fi
- if [ x$(DESTDIR) = x ]; then fc-cache/fc-cache -f -v; fi
+ @(if $(RUN_FC_CACHE_TEST); then \
+ echo " fc-cache/fc-cache -s -f -v"; \
+ fc-cache/fc-cache -s -f -v; \
+ else \
+ echo "***"; \
+ echo "*** Warning: fonts.cache not built"; \
+ echo "***"; \
+ echo "*** Generate this file manually on host system using fc-cache"; \
+ echo "***"; \
+ fi)