gbranden pushed a commit to branch master
in repository groff.
commit 0c33b7b631581a45c8f7dbcb54e7656da03de6cd
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Mar 14 08:09:37 2026 -0500
src/utils/pfbtops/pfbtops.am: Drop a macro defn.
* src/utils/pfbtops/pfbtops.am (nodist_EXTRA_pfbtops_SOURCES): Drop
"trick" macro definition 'to force the use of C++ compiler[.] See the
Automake manual, "Libtool Convenience Libraries"'. However, groff
doesn't use Libtool. The nonexistent dummy file declared here impedes
the use of Automake's "tags" target. After this change, "pfbtops"'s
linkage is unchanged per ldd(1), the smoke test still passes, and the
program appears to still operate fine on the file "build/font/devpdf/\
symbolsl.pfb"...on amd64 GNU/Linux with a GNU toolchain.
---
ChangeLog | 13 +++++++++++++
src/utils/pfbtops/pfbtops.am | 3 ---
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1bbdb3bb3..1a2d0993f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2026-03-14 G. Branden Robinson <[email protected]>
+
+ * src/utils/pfbtops/pfbtops.am (nodist_EXTRA_pfbtops_SOURCES):
+ Drop "trick" macro definition 'to force the use of C++
+ compiler[.] See the Automake manual, "Libtool Convenience
+ Libraries"'. However, groff doesn't use Libtool. The
+ nonexistent dummy file declared here impedes the use of
+ Automake's "tags" target. After this change, "pfbtops"'s
+ linkage is unchanged per ldd(1), the smoke test still passes,
+ and the program appears to still operate fine on the file
+ "build/font/devpdf/symbolsl.pfb"...on amd64 GNU/Linux with a GNU
+ toolchain.
+
2026-03-14 G. Branden Robinson <[email protected]>
[troff]: Implement `.ul` register for orthogonal completeness
diff --git a/src/utils/pfbtops/pfbtops.am b/src/utils/pfbtops/pfbtops.am
index a8ba69fb1..9a98d18b3 100644
--- a/src/utils/pfbtops/pfbtops.am
+++ b/src/utils/pfbtops/pfbtops.am
@@ -20,9 +20,6 @@ man1_MANS += src/utils/pfbtops/pfbtops.1
EXTRA_DIST += src/utils/pfbtops/pfbtops.1.man
pfbtops_SOURCES = src/utils/pfbtops/pfbtops.c
pfbtops_LDADD = libgroff.a $(LIBM) lib/libgnu.a
-# We use the following trick to force the use of C++ compiler
-# See the Automake manual, "Libtool Convenience Libraries"
-nodist_EXTRA_pfbtops_SOURCES = src/utils/pfbtops/dummy.cpp
pfbtops_TESTS = \
src/utils/pfbtops/tests/smoke-test.sh
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit