Parcourir la source

[2980] Ensure "make clean" deletes files created during testing

This change added in response to a "make distcheck" failute on one
of the build systems.
Stephen Morris il y a 12 ans
Parent
commit
3430cf9ae9
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/lib/hooks/tests/Makefile.am

+ 2 - 1
src/lib/hooks/tests/Makefile.am

@@ -14,7 +14,8 @@ if USE_CLANGPP
 AM_CXXFLAGS += -Wno-unused-parameter
 endif
 
-CLEANFILES = *.gcno *.gcda
+# Files to clean include the file created by testing.
+CLEANFILES = *.gcno *.gcda $(builddir)/marker_file.dat
 
 TESTS_ENVIRONMENT = \
 	$(LIBTOOL) --mode=execute $(VALGRIND_COMMAND)