summaryrefslogtreecommitdiff
path: root/vtep
diff options
context:
space:
mode:
Diffstat (limited to 'vtep')
-rw-r--r--vtep/automake.mk4
-rwxr-xr-xvtep/ovs-vtep.in2
2 files changed, 2 insertions, 4 deletions
diff --git a/vtep/automake.mk b/vtep/automake.mk
index 0f313dce3..e549922d9 100644
--- a/vtep/automake.mk
+++ b/vtep/automake.mk
@@ -53,18 +53,16 @@ pkgdata_DATA += vtep/vtep.ovsschema
#
# If "python" or "dot" is not available, then we do not add graphical diagram
# to the documentation.
-if HAVE_PYTHON
if HAVE_DOT
vtep/vtep.gv: ovsdb/ovsdb-dot.in vtep/vtep.ovsschema
$(AM_V_GEN)$(OVSDB_DOT) --no-arrows $(srcdir)/vtep/vtep.ovsschema > $@
vtep/vtep.pic: vtep/vtep.gv ovsdb/dot2pic
- $(AM_V_GEN)(dot -T plain < vtep/vtep.gv | $(PYTHON) $(srcdir)/ovsdb/dot2pic -f 3) > $@.tmp && \
+ $(AM_V_GEN)(dot -T plain < vtep/vtep.gv | $(PYTHON3) $(srcdir)/ovsdb/dot2pic -f 3) > $@.tmp && \
mv $@.tmp $@
VTEP_PIC = vtep/vtep.pic
VTEP_DOT_DIAGRAM_ARG = --er-diagram=$(VTEP_PIC)
CLEANFILES += vtep/vtep.gv vtep/vtep.pic
endif
-endif
# VTEP schema documentation
EXTRA_DIST += vtep/vtep.xml
diff --git a/vtep/ovs-vtep.in b/vtep/ovs-vtep.in
index 338387075..de848d1a0 100755
--- a/vtep/ovs-vtep.in
+++ b/vtep/ovs-vtep.in
@@ -1,4 +1,4 @@
-#! @PYTHON@
+#! @PYTHON3@
# Copyright (C) 2013 Nicira, Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");