diff options
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 2e65a04..4e4adb7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,7 +32,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: @: |