[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 04/08: [devpdf]: Trivially refactor.
From: |
G. Branden Robinson |
Subject: |
[groff] 04/08: [devpdf]: Trivially refactor. |
Date: |
Sat, 25 Feb 2023 06:57:29 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit db9518f2dc22c1d8b7fbe4cefbc0fc974343ba0a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Feb 24 09:30:43 2023 -0600
[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.
---
ChangeLog | 11 +++++++++++
font/devpdf/devpdf.am | 2 +-
font/devpdf/util/BuildFoundries.pl | 2 +-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9b8ecccc3..a02f60d73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2023-02-24 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ [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.
+
2023-02-24 G. Branden Robinson <g.branden.robinson@gmail.com>
[build]: Stop scraping output of Ghostscript executable with
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 04/08: [devpdf]: Trivially refactor.,
G. Branden Robinson <=