tests: make gpiod-unit.h a source for gpiod-unit
authorThierry Reding <treding@nvidia.com>
Tue, 7 Mar 2017 14:01:06 +0000 (15:01 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 8 Mar 2017 13:39:15 +0000 (14:39 +0100)
Listing gpiod-unit.h as a source for the gpiod-unit binary ensures that
it is properly tracked as a dependency and that it will be included in
distribution tarballs.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/unit/Makefile.am

index 629c667d9d717e106de90c4ce590399610e0449a..05197de088b2d241c6cb90890a741ae72ea3ff37 100644 (file)
@@ -14,6 +14,7 @@ DEPENDENCIES = libgpiod.la
 check_PROGRAMS = gpiod-unit
 
 gpiod_unit_SOURCES =   gpiod-unit.c \
+                       gpiod-unit.h \
                        tests-chip.c \
                        tests-iter.c \
                        tests-line.c \