Fix: let automake handle CLEAN and DIST
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 28 Apr 2016 02:52:19 +0000 (22:52 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 May 2016 19:42:42 +0000 (15:42 -0400)
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.

Automake infers EXTRA_DIST and DISTCLEANFILES from AC_CONFIG_FILES.

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/lib/Makefile.am

index 6e48271b319e0d8d1876e3661fbcd8f710b15ce6..12febed4c17f1c99fd69732ee1352ac39fe074fd 100644 (file)
@@ -29,8 +29,6 @@ test_ctf_writer_SOURCES = test_ctf_writer.c
 check_SCRIPTS = test_seek_big_trace \
                test_seek_empty_packet
 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
 
 if ENABLE_DEBUGINFO
 test_dwarf_LDFLAGS = -static
This page took 0.032994 seconds and 4 git commands to generate.