mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-24 00:48:53 +03:00
Apparently bash scripts need to be listed in the dist_noinst_SCRIPTS in
order to be picked up into the dist package, noinst_SCRIPTS is not
enough.
Fixes: 555f5e4cfe ("tools: tests: port tests to shunit2")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
26 lines
648 B
Makefile
26 lines
648 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski <bartekgola@gmail.com>
|
|
|
|
AM_CFLAGS = -I$(top_srcdir)/include/ -include $(top_builddir)/config.h
|
|
AM_CFLAGS += -Wall -Wextra -g -std=gnu89
|
|
|
|
noinst_LTLIBRARIES = libtools-common.la
|
|
libtools_common_la_SOURCES = tools-common.c tools-common.h
|
|
|
|
LDADD = libtools-common.la $(top_builddir)/lib/libgpiod.la
|
|
|
|
if WITH_GPIOSET_INTERACTIVE
|
|
|
|
AM_CFLAGS += -DGPIOSET_INTERACTIVE $(LIBEDIT_CFLAGS)
|
|
LDADD += $(LIBEDIT_LIBS)
|
|
|
|
endif
|
|
|
|
bin_PROGRAMS = gpiodetect gpioinfo gpioget gpioset gpiomon gpionotify
|
|
|
|
if WITH_TESTS
|
|
|
|
dist_noinst_SCRIPTS = gpio-tools-test.bash
|
|
|
|
endif
|