]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests: do not compile tests/decode unless running tests
authorVincent Bernat <vincent@bernat.im>
Fri, 22 Apr 2016 16:06:11 +0000 (18:06 +0200)
committerVincent Bernat <vincent@bernat.im>
Sat, 23 Apr 2016 06:07:23 +0000 (08:07 +0200)
Fix #175

tests/Makefile.am

index b06d7f81a8b099cf37c612fab896aad7c0478b05..cd20adcc7853b0eef32aa4e801f8d75c29d84fdb 100644 (file)
@@ -42,9 +42,7 @@ check_snmp_SOURCES = check_snmp.c \
 LDADD += @NETSNMP_LIBS@
 endif
 
-check_PROGRAMS = $(TESTS)
-
-noinst_PROGRAMS = decode
+check_PROGRAMS = $(TESTS) decode
 decode_SOURCES = decode.c \
        $(top_srcdir)/src/daemon/lldpd.h \
        common.h common.c