Makefiles: Clean and do not distribute IDL-generated files.
authorBen Pfaff <blp@nicira.com>
Tue, 21 Jul 2015 18:15:06 +0000 (11:15 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 22 Jul 2015 16:56:32 +0000 (09:56 -0700)
commit90ffd534198da1fd385082574b55d537c3881a5d
treef9f8cc5f320dcecf95c21dadb79742b593ce3824
parentea53e3a86d75cdbb30033bf8a737baf86c5891bb
Makefiles: Clean and do not distribute IDL-generated files.

IDL-generated files don't need to be distributed, and distributing them
puts them in the source directory rather than the build directory, which
causes "make distcheck" to fail if any of them need to be remade.  To
prevent this, this commit this removes them from ..._SOURCES, moving them
into nodist_..._SOURCES.

IDL-generated files all need to be cleaned, so this commit adds all of
them to CLEANFILES wholesale via a single CLEANFILES += $(OVSIDL_BUILT)
line in ovsdb/automake.mk, removing the individual additions from various
makefiles.

With this commit, "make distcheck" passes for me.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Aaron Conole <aaron@bytheb.org>
lib/automake.mk
ovn/lib/automake.mk
ovsdb/automake.mk
tests/automake.mk
vtep/automake.mk