]> granicus.if.org Git - graphviz/commitdiff
fix: remove dangling reference to textfont.* in Autotools file
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 8 May 2021 20:38:48 +0000 (13:38 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 15 May 2021 00:06:08 +0000 (17:06 -0700)
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

lib/common/Makefile.am

index 911799bc351621d5519363282e7ee5a1792dc27a..0b76a8764315914b04561354eca21573a9ff3c21 100644 (file)
@@ -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