summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 7ff500d..ca20def 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,7 +47,16 @@ install-data-hook:
$(MKFONTSCALE) $(DESTDIR)$(fontdir)
@rm -f $(DESTDIR)$(fontdir)/font.dir
$(MKFONTDIR) $(DESTDIR)$(fontdir)
- $(FCCACHE) $(DESTDIR)$(fontdir)
+ @(if `test -z '$(DESTDIR)'`; then \
+ echo $(FCCACHE) $(fontdir); \
+ $(FCCACHE) $(fontdir); \
+ else \
+ echo "***"; \
+ echo "*** Warning: fonts.cache not built"; \
+ echo "***"; \
+ echo "*** Generate this file manually on host system using fc-cache"; \
+ echo "***"; \
+ fi)
distuninstallcheck:
@: