diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-06-01 01:05:26 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-06-01 01:05:26 +0000 |
commit | 515fec914744e1db2faa91e1d437206407a53b2d (patch) | |
tree | f69e267744b8bd6ecfebf0d0cc61c28b430dc9fa /font/Makefile | |
parent | 20ee436bed716a61fb71214bd629ff047d44f37b (diff) |
Only run fc-cache once at the end of fonts installation.
Diffstat (limited to 'font/Makefile')
-rw-r--r-- | font/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/font/Makefile b/font/Makefile index c5f3cb4cb..a9094feda 100644 --- a/font/Makefile +++ b/font/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2006/12/17 19:52:56 matthieu Exp $ +# $OpenBSD: Makefile,v 1.3 2007/06/01 01:05:25 matthieu Exp $ # util must come 1st, alias must come last SUBDIR= util encodings \ @@ -15,6 +15,12 @@ SUBDIR= util encodings \ EXTRAS= bitstream-vera-ttf +afterinstall: + @if test -z "$(DESTDIR)"; then \ + echo "running fc-cache";\ + fc-cache -s -v ;\ + fi + .include <bsd.subdir.mk> build: _SUBDIRUSE |