netdev-dpdk: clean up mbuf initialization
[cascardo/ovs.git] / vtep / automake.mk
index 6027fd2..2645f30 100644 (file)
@@ -43,6 +43,8 @@ scripts_SCRIPTS += \
 docs += vtep/README.ovs-vtep.md
 EXTRA_DIST += vtep/ovs-vtep
 
+FLAKE8_PYFILES += vtep/ovs-vtep
+
 # VTEP schema and IDL
 EXTRA_DIST += vtep/vtep.ovsschema
 pkgdata_DATA += vtep/vtep.ovsschema
@@ -80,13 +82,5 @@ vtep/vtep.5: \
 # Version checking for vtep.ovsschema.
 ALL_LOCAL += vtep/vtep.ovsschema.stamp
 vtep/vtep.ovsschema.stamp: vtep/vtep.ovsschema
-       @sum=`sed '/cksum/d' $? | cksum`; \
-       expected=`sed -n 's/.*"cksum": "\(.*\)".*/\1/p' $?`; \
-       if test "X$$sum" = "X$$expected"; then \
-         touch $@; \
-       else \
-         ln=`sed -n '/"cksum":/=' $?`; \
-         echo >&2 "$?:$$ln: The checksum \"$$sum\" was calculated from the schema file and does not match cksum field in the schema file - you should probably update the version number and the checksum in the schema file with the value listed here."; \
-         exit 1; \
-       fi
+       $(srcdir)/build-aux/cksum-schema-check $? $@
 CLEANFILES += vtep/vtep.ovsschema.stamp