]> granicus.if.org Git - graphviz/commitdiff
fix: exclude cmd/smyrna when Smyrna is disabled during build
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 2 Nov 2021 00:04:42 +0000 (17:04 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 8 Nov 2021 02:57:05 +0000 (18:57 -0800)
Similar to the situation just fixed with Lefty, when Smyrna was disabled
(`--with-smyrna=no` passed to the build system), several Smyrna related
artifacts would still be built and installed. We now exclude the entire Smyrna
subdirectory, which should be less error prone.

Related to #2153.

CHANGELOG.md
cmd/Makefile.am
cmd/smyrna/Makefile.am

index d62b1b7c2a49573a6008fb733cac9cb672acc03a..a496d380747bcaa3d9164b19e1c62a60a0e083ea 100644 (file)
@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 - remove Bashism from `gvmap.sh` #2151
 - Lefty artifacts are no longer installed when Lefty is disabled #2153
+- Smyrna artifacts are no longer installed when Smyrna is disabled
 
 ## [2.49.3] – 2021-10-22
 
index 8080d6ecd8824d6191054029bcf60553a06ae27b..2e7b7aaf7d86499f29f5a2228c2a63d66f6907ff 100644 (file)
@@ -1,7 +1,11 @@
 ## Process this file with automake to produce Makefile.in
 
-SUBDIRS = dot tools gvpr lneato dotty smyrna gvmap gvedit mingle edgepaint
+SUBDIRS = dot tools gvpr lneato dotty gvmap gvedit mingle edgepaint
 
 if WITH_LEFTY
 SUBDIRS += lefty
 endif
+
+if WITH_SMYRNA
+SUBDIRS += smyrna
+endif
index 16340d29ff53e7545ee61db7fd293e50be2854f4..e8cde249d2c4d5df9f4b1ff7ee7d2bee22162a4e 100644 (file)
@@ -18,7 +18,6 @@ AM_CPPFLAGS = \
 bin_PROGRAMS =
 man_MANS = 
 pdf_DATA = 
-if WITH_SMYRNA
 if ENABLE_SHARED
 bin_PROGRAMS += smyrna 
 endif
@@ -29,7 +28,6 @@ man_MANS += smyrna.1
 if ENABLE_MAN_PDFS
 pdf_DATA += smyrna.1.pdf
 endif
-endif
 
 if ENABLE_MAN_PDFS
 if HAVE_PS2PDF