From mboxrd@z Thu Jan 1 00:00:00 1970 From: simon.marchi@polymtl.ca (Simon Marchi) Date: Wed, 27 Apr 2016 22:52:19 -0400 Subject: [lttng-dev] [PATCH 2/3] tests/lib/Makefile.am: use DISTCLEANFILES instead of CLEANFILES In-Reply-To: <1461811940-8336-1-git-send-email-simon.marchi@polymtl.ca> References: <1461811940-8336-1-git-send-email-simon.marchi@polymtl.ca> Message-ID: <1461811940-8336-2-git-send-email-simon.marchi@polymtl.ca> Files test_seek_empty_packet and test_seek_big_trace are generated by configuring, not by making. Therefore, we do not want a make clean to remove them. Otherwise, doing... * make * make clean * make * make check ... fails. We want, however, to delete them when doing make distclean. Signed-off-by: Simon Marchi --- tests/lib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am index a08cbf6..b39bd34 100644 --- a/tests/lib/Makefile.am +++ b/tests/lib/Makefile.am @@ -43,7 +43,7 @@ test_bt_ctf_field_type_validation_SOURCES = test_bt_ctf_field_type_validation.c SCRIPT_LIST = test_ctf_writer_complete EXTRA_DIST = test_seek_big_trace.in test_seek_empty_packet.in -CLEANFILES= test_seek_big_trace test_seek_empty_packet +DISTCLEANFILES = test_seek_big_trace test_seek_empty_packet if ENABLE_DEBUGINFO test_dwarf_LDFLAGS = -static -- 2.8.0