Fix vswitch-idl.ovsidl build rule with separate source and build dirs.
authorBen Pfaff <blp@nicira.com>
Thu, 4 Oct 2012 22:53:14 +0000 (15:53 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 4 Oct 2012 23:27:58 +0000 (16:27 -0700)
commit8c8c0f3a9662f612752beaf67c68a25722f496a9
tree9177569ce7c2b463c478856799ba0963017eccaf
parent40a5a25d4ff02d8cb2dba9f0f21b2d985a00ca11
Fix vswitch-idl.ovsidl build rule with separate source and build dirs.

Before commit e3a880272 (lib: Specify idl location more precisely.), the
files named in VSWITCH_IDL_FILES were relative to the source directory.
That commit made them inconsistent: one remained relative to the source
directory, the other became relative to the build directory.  This meant
that if the source and build directories differed, the ovsdb-idlc
invocation had no change of succeeding.

This commit fixes the problem by making the file names consistently
relative to the build directory and then adjusting the ovsdb-idlc
invocation to expect that.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/automake.mk