From: Matthew Fernandez Date: Sat, 8 May 2021 20:38:48 +0000 (-0700) Subject: fix: remove dangling reference to textfont.* in Autotools file X-Git-Tag: 2.47.2~10^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ebc593a374d56e8da292fe834ab81b1efb663c6;p=graphviz fix: remove dangling reference to textfont.* in Autotools file The file textfont.c was renamed to textspan.c in 65f337664d177b588c5c2418fe12bac7eef62c2a but this rule was incorrectly not updated. Rather than relying on manual dependencies which the Autotools docs suggest can be problematic,¹ we just remove this rule. This removes the ability to `make textspan.o`, but clearly no one was relying on this anyway as it has been broken since 2013. ¹ https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html --- diff --git a/lib/common/Makefile.am b/lib/common/Makefile.am index 911799bc3..0b76a8764 100644 --- a/lib/common/Makefile.am +++ b/lib/common/Makefile.am @@ -31,8 +31,6 @@ libcommon_C_la_SOURCES = arrows.c colxlate.c ellipse.c textspan.c \ output.c emit.c ps_font_equiv.txt ps_fontmap.txt fontmap.cfg \ color_names -textfont.o textfont.lo: ps_font_equiv.h - # ensure font names are properly sorted for bsearch operation ps_font_equiv.h: $(srcdir)/ps_font_equiv.txt $(srcdir)/fontmap.cfg $(srcdir)/ps_fontmap.txt cp $(srcdir)/ps_fontmap.txt ps_font_equiv.h