From: Matthieu Herrb Date: Sun, 5 May 2002 17:53:41 +0000 (+0000) Subject: Don't run fc-cache on make install if DESTDIR is set. Instead; run it from X-Git-Tag: xf-4_2_99_1~26 X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=commitdiff_plain;h=1ce2a1bbadc15147e35dbc4c43fae072b8c4805e Don't run fc-cache on make install if DESTDIR is set. Instead; run it from Xinstall.sh after XFree86 is installed. --- diff --git a/fc-cache/Imakefile b/fc-cache/Imakefile index 0280723..afd1601 100644 --- a/fc-cache/Imakefile +++ b/fc-cache/Imakefile @@ -10,4 +10,6 @@ ComplexProgramTarget(fc-cache) LinkBuildBinary(ProgramTargetName(fc-cache)) install:: - FC_DEBUG=128 $(FCCACHE) -v + if [ x$${DESTDIR} = x ]; then \ + FC_DEBUG=128 $(FCCACHE) -v ;\ + fi