]> granicus.if.org Git - sudo/commitdiff
Move @CHECK_NOEXEC@ to TEST_PROGS so it gets cleaned up properly.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 3 May 2017 17:32:56 +0000 (11:32 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 3 May 2017 17:32:56 +0000 (11:32 -0600)
src/Makefile.in

index aefd4a1f44f1bc15894eb01939af81faf2c5ad1d..3a6ec60a2758db4e3fe5d028b09e87f7f135b9b2 100644 (file)
@@ -104,7 +104,7 @@ INIT_DIR=@INIT_DIR@
 INIT_SCRIPT=@INIT_SCRIPT@
 RC_LINK=@RC_LINK@
 
-TEST_PROGS = check_ttyname
+TEST_PROGS = check_ttyname @CHECK_NOEXEC@
 TEST_LIBS = @LIBS@ $(LT_LIBS)
 TEST_LDFLAGS = @LDFLAGS@
 
@@ -233,7 +233,7 @@ splint:
 cppcheck:
        cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) $(srcdir)/*.c
 
-check: $(TEST_PROGS) @CHECK_NOEXEC@
+check: $(TEST_PROGS)
        @if test X"$(cross_compiling)" != X"yes"; then \
            ./check_ttyname; \
        fi