When Lefty was disabled (`--enable-lefty` not passed to the build system),
several Lefty related artifacts would still be built and installed. E.g. the man
page. We now exclude the entire Lefty subdirectory, which should be less error
prone.
Fixes #2153.
Suggested-by: Daniel Macks
### Fixed
- remove Bashism from `gvmap.sh` #2151
+- Lefty artifacts are no longer installed when Lefty is disabled #2153
## [2.49.3] – 2021-10-22
## Process this file with automake to produce Makefile.in
-SUBDIRS = dot tools gvpr lefty lneato dotty smyrna gvmap gvedit mingle edgepaint
+SUBDIRS = dot tools gvpr lneato dotty smyrna gvmap gvedit mingle edgepaint
+
+if WITH_LEFTY
+SUBDIRS += lefty
+endif
## Process this file with automake to produce Makefile.in
-if WITH_LEFTY
SUBDIRS = ws os dot2l examples
-endif
# lefty build parameters
#not useful / old:
noinst_HEADERS = code.h common.h display.h exec.h g.h gfxview.h internal.h \
leftyio.h lex.h mem.h parse.h str.h tbl.h txtview.h
-if WITH_LEFTY
if WITH_X
if WITH_XAW
bin_PROGRAMS = lefty
if WITH_WIN32
bin_PROGRAMS = lefty
endif
-endif
man_MANS = lefty.1
if ENABLE_MAN_PDFS