[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 12/49: m4/groff.m4: Update indentation.
From: |
G. Branden Robinson |
Subject: |
[groff] 12/49: m4/groff.m4: Update indentation. |
Date: |
Sun, 25 Sep 2022 17:02:56 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit ee4518f07ef219e17a3bb8edf73700347a066e4b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Sep 19 16:21:31 2022 -0500
m4/groff.m4: Update indentation.
Tidy up after previous commit. Also put blank lines between control
structures for readability.
---
m4/groff.m4 | 63 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 34 insertions(+), 29 deletions(-)
diff --git a/m4/groff.m4 b/m4/groff.m4
index ffdcd1da8..b9ead007d 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -302,37 +302,42 @@ AC_DEFUN([GROFF_URW_FONTS_CHECK], [
then
_list_paths=`$GHOSTSCRIPT -h | $AWK 'BEGIN { found = 0 } /Search path:/ {
found = 1 } /^[ ]*\// { print $'0' }'| tr : ' '`
fi
- _list_paths="$_list_paths \
- /usr/share/fonts/type1/gsfonts/ \
- /usr/share/fonts/default/Type1/ \
- /usr/share/fonts/default/Type1/adobestd35/ \
- /usr/share/fonts/type1/urw-base35/ \
- /opt/local/share/fonts/urw-fonts/ \
- /usr/local/share/fonts/ghostscript/"
- if test -n "$urwfontsdir"
- then
- _list_paths="$ _list_paths $urwfontsdir"
- fi
- for k in $_list_paths
+
+ _list_paths="$_list_paths \
+ /usr/share/fonts/type1/gsfonts/ \
+ /usr/share/fonts/default/Type1/ \
+ /usr/share/fonts/default/Type1/adobestd35/ \
+ /usr/share/fonts/type1/urw-base35/ \
+ /opt/local/share/fonts/urw-fonts/ \
+ /usr/local/share/fonts/ghostscript/"
+
+ if test -n "$urwfontsdir"
+ then
+ _list_paths="$ _list_paths $urwfontsdir"
+ fi
+
+ for k in $_list_paths
+ do
+ for _font_file in \
+ URWGothic-Book.t1 \
+ URWGothic-Book.pfb \
+ URWGothicL-Book.pfb \
+ a010013l.pfb
do
- for _font_file in \
- URWGothic-Book.t1 \
- URWGothic-Book.pfb \
- URWGothicL-Book.pfb \
- a010013l.pfb
- do
- if test -f $k/$_font_file
- then
- AC_MSG_RESULT([found in $k])
- groff_have_urw_fonts=yes
- break 2
- fi
- done
+ if test -f $k/$_font_file
+ then
+ AC_MSG_RESULT([found in $k])
+ groff_have_urw_fonts=yes
+ break 2
+ fi
done
- if test $groff_have_urw_fonts = no
- then
- AC_MSG_RESULT([none found])
- fi
+ done
+
+ if test $groff_have_urw_fonts = no
+ then
+ AC_MSG_RESULT([none found])
+ fi
+
AC_SUBST([groff_have_urw_fonts])
])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 12/49: m4/groff.m4: Update indentation.,
G. Branden Robinson <=