[ovs-dev,3/8] automake: Clean up cxxtest.cc.

Message ID 20190208164900.30679-4-i.maximets@samsung.com
State Accepted
Headers show
Series
  • travis: Fix equal distcheck runs.
Related show

Commit Message

Ilya Maximets Feb. 8, 2019, 4:48 p.m.
'distcheck' complains on some configurations:

  ERROR: files left in build directory after distclean:
  ./include/openvswitch/cxxtest.cc

CC: Ben Pfaff <blp@ovn.org>
Fixes: 994bfc298502 ("Automatically verify that OVS header files work OK in C++ also.")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
---
 include/openvswitch/automake.mk | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/include/openvswitch/automake.mk b/include/openvswitch/automake.mk
index aede51566..73c346175 100644
--- a/include/openvswitch/automake.mk
+++ b/include/openvswitch/automake.mk
@@ -64,6 +64,7 @@  include/openvswitch/cxxtest.cc: \
 	for header in $(openvswitchinclude_HEADERS); do	\
 	  echo $$header; \
 	done | sed 's,^include/\(.*\)$$,#include <\1>,'; } > $@
+CLEANFILES += include/openvswitch/cxxtest.cc
 endif
 
 # OVS does not use C++ itself, but it provides public header files