diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-24 09:30:43 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2023-02-25 02:19:16 -0600 |
commit | db9518f2dc22c1d8b7fbe4cefbc0fc974343ba0a (patch) | |
tree | 94c611e4dbe4b17e5b629b181fb202b4472fd30c /font | |
parent | b379382ea6f91dc2408973db8eb284d56255580b (diff) | |
download | groff-git-db9518f2dc22c1d8b7fbe4cefbc0fc974343ba0a.tar.gz |
[devpdf]: Trivially refactor.
Rename sed-substitutum [Lat.] from "@GROFF_GHOSTSCRIPT_INTERPRETERS@" to
"@GHOSTSCRIPT@" for clarity and brevity; this is a scalar value
containing the Autoconf-determined name of the Ghostscript interpreter.
It is not the same as the replacement that occurs in contrib/pdfmark.
* font/devpdf/devpdf.am:
* font/devpdf/util/BuildFoundries.pl: Do it.
Diffstat (limited to 'font')
-rw-r--r-- | font/devpdf/devpdf.am | 2 | ||||
-rw-r--r-- | font/devpdf/util/BuildFoundries.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/font/devpdf/devpdf.am b/font/devpdf/devpdf.am index 4b872182d..4f9923a9f 100644 --- a/font/devpdf/devpdf.am +++ b/font/devpdf/devpdf.am @@ -71,7 +71,7 @@ font/devpdf/util/BuildFoundries: \ && if test -n "$(PERL)"; then \ sed -f $(SH_DEPS_SED_SCRIPT) \ -e "s|/usr/bin/perl|$(PERL)|" \ - -e "s|[@]GROFF_GHOSTSCRIPT_INTERPRETERS[@]|$(GHOSTSCRIPT)|" \ + -e "s|[@]GHOSTSCRIPT[@]|$(GHOSTSCRIPT)|" \ -e "s|[@]PATH_SEPARATOR[@]|$(PATH_SEPARATOR)|" \ -e "s|[@]VERSION[@]|$(VERSION)|" \ -e "s|[@]GROFF_FONT_DIR[@]|$(fontdir)|" \ diff --git a/font/devpdf/util/BuildFoundries.pl b/font/devpdf/util/BuildFoundries.pl index b22925a89..2815c379e 100644 --- a/font/devpdf/util/BuildFoundries.pl +++ b/font/devpdf/util/BuildFoundries.pl @@ -331,7 +331,7 @@ sub LocateFile sub FindGSpath { - my (@res)=`@GROFF_GHOSTSCRIPT_INTERPRETERS@ -h 2>/dev/null`; + my (@res)=`@GHOSTSCRIPT@ -h 2>/dev/null`; return [] if $?; my $buildpath=[]; my $stg=1; |