]> granicus.if.org Git - graphviz/commitdiff
fix: do not ship smyrna.pdf when Smyrna is not being built
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 2 Nov 2021 00:04:41 +0000 (17:04 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 8 Nov 2021 02:57:05 +0000 (18:57 -0800)
Similar to prior fixes for Lefty, Smyrna artifacts were not adequately guarded
to prevent them being built and installed when Smyrna is disabled.

Related to #2153.

doc/Makefile.am

index af17bba4ae0e067ebc459c9a620ee260a2fa2beb..d49aae925fd990bb5cc0780daebcddf4c839ab9f 100644 (file)
@@ -2,7 +2,7 @@
 
 SUBDIRS = info schema
 
-pdf = dotguide.pdf dottyguide.pdf neatoguide.pdf libgraph/Agraph.pdf libguide/libguide.pdf smyrna/smyrna.pdf
+pdf = dotguide.pdf dottyguide.pdf neatoguide.pdf libgraph/Agraph.pdf libguide/libguide.pdf
 html = build.html FAQ.html index.html winbuild.html pspdf.png char.html gdtclft.entities.example.png todo.html internal_todo.html
 txt = Dot.ref latex_suggestions.txt fontfaq.txt addingLayout.txt
 
@@ -10,6 +10,10 @@ if WITH_LEFTY
 pdf += leftyguide.pdf
 endif
 
+if WITH_SMYRNA
+pdf += smyrna/smyrna.pdf
+endif
+
 pdfdir = $(pkgdatadir)/doc/pdf
 htmldir = $(pkgdatadir)/doc/html
 txtdir = $(pkgdatadir)/doc