diff options
author | Ben Pfaff <blp@nicira.com> | 2012-03-27 15:57:52 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-03-27 15:57:52 -0700 |
commit | eaa67ba8d5863be1503506cefa234fa0830f8c90 (patch) | |
tree | 69445badcc451f7c7d5dfdbc7c33b0d7a7e32658 /vswitchd/automake.mk | |
parent | 7c808e39518f563ff03d6d01323cb05b17312568 (diff) | |
download | openvswitch-eaa67ba8d5863be1503506cefa234fa0830f8c90.tar.gz |
Avoid possibly including an old vswitch-idl.h.
Codes that uses #include "vswitch-idl.h" can get an older version of this
header, because this header file moved from vswitchd/ to lib/ and the
older generated file might still be present.
This helps out two ways:
* "make clean" will delete the generated files from their old
locations.
* Use #include "lib/vswitch-idl.h" to explicitly avoid including the
files from their old locations.
Reported-by: Justin Pettit <jpettit@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'vswitchd/automake.mk')
-rw-r--r-- | vswitchd/automake.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vswitchd/automake.mk b/vswitchd/automake.mk index 4df5f22cb..9092129b0 100644 --- a/vswitchd/automake.mk +++ b/vswitchd/automake.mk @@ -95,3 +95,7 @@ vswitchd/vswitch.ovsschema.stamp: vswitchd/vswitch.ovsschema exit 1; \ fi CLEANFILES += vswitchd/vswitch.ovsschema.stamp + +# Clean up generated files from older OVS versions. (This is important so that +# #include "vswitch-idl.h" doesn't get the wrong copy.) +CLEANFILES += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h |