Merge pull request #1 from stappersg/nocolor

Reuse the tio_SOURCES variable in src/Makefile.am
This commit is contained in:
William Alexander 2022-02-06 18:03:31 +00:00 committed by GitHub
commit 8e0c2618b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,26 +14,14 @@ tio_SOURCES = tty.c \
include/tio/log.h \
include/tio/error.h
tionc_SOURCES = tty.c \
options.c \
time.c \
main.c \
log.c \
error.c \
include/tio/tty.h \
include/tio/options.h \
include/tio/time.h \
include/tio/print.h \
include/tio/log.h \
include/tio/error.h
tionc_CFLAGS = -D TIO_NOCOLOR
if ADD_SETSPEED2
tio_SOURCES += setspeed2.c
tionc_SOURCES += setspeed2.c
endif
tionc_SOURCES = $(tio_SOURCES)
tionc_CFLAGS = -D TIO_NOCOLOR
if ENABLE_BASH_COMPLETION
bashcompletiondir=@BASH_COMPLETION_DIR@
bashcompletion_DATA=bash-completion/tio