fix error message when makepsres does not exist

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8365 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2004-01-22 14:29:40 +00:00
parent 85fa1d41ba
commit 35d08a9635
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-01-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* configure.m4: fix call to makepsres; cosmetic changes to font
checking messages
2004-01-18 Michael Schmitt <michael.schmitt@teststep.org> 2004-01-18 Michael Schmitt <michael.schmitt@teststep.org>
* examples/g-brief2.lyx: Fix layouts * examples/g-brief2.lyx: Fix layouts

View File

@ -580,7 +580,7 @@ rm -f xfonts/fonts.dir xfonts/fonts.scale xfonts/tmpfonts
num=0 num=0
touch xfonts/tmpfonts touch xfonts/tmpfonts
for font in $fontlist ; do for font in $fontlist ; do
MSG_CHECKING([for $font]) MSG_CHECKING(for $font,+)
result=no result=no
for ext in pfb pfa ttf ; do for ext in pfb pfa ttf ; do
if filepath=`kpsewhich $font.$ext` ; then if filepath=`kpsewhich $font.$ext` ; then
@ -600,7 +600,7 @@ if test ! $num = 0 ; then
cat xfonts/tmpfonts >>xfonts/fonts.scale cat xfonts/tmpfonts >>xfonts/fonts.scale
cp xfonts/fonts.scale xfonts/fonts.dir cp xfonts/fonts.scale xfonts/fonts.dir
# create a resource list file for Display Postscript # create a resource list file for Display Postscript
(cd xfonts ; rm -f PSres.upr ; makepsres -q) || true (cd xfonts ; rm -f PSres.upr ; makepsres) 2>/dev/null || true
fi fi
rm -f xfonts/tmpfonts rm -f xfonts/tmpfonts