summaryrefslogtreecommitdiff
path: root/lib/automake.mk
diff options
context:
space:
mode:
authorMark Gray <mark.d.gray@redhat.com>2020-11-11 04:25:30 -0500
committerIan Stokes <ian.stokes@intel.com>2020-11-16 15:47:43 +0000
commit943c4a325045cd3982100cf3367f2e6375be3a71 (patch)
treeaa6995820f5d98a35302ddf1ec1a8e0ca39b5db6 /lib/automake.mk
parent78f05eb787ac2ecf7ffa16e1b7214ab8b4dd5a32 (diff)
downloadopenvswitch-943c4a325045cd3982100cf3367f2e6375be3a71.tar.gz
python: set ovs.dirs variables with build system values
ovs/dirs.py should be auto-generated using the template ovs/dirs.py.template at build time. This will set the ovs.dirs python variables with a value specified by the environment or, if the environment variable is not set, from the build system. Signed-off-by: Mark Gray <mark.d.gray@redhat.com> Acked-By: Timothy Redaelli <tredaelli@redhat.com> Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Diffstat (limited to 'lib/automake.mk')
-rw-r--r--lib/automake.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/automake.mk b/lib/automake.mk
index 380a67228..8eeb6c3f6 100644
--- a/lib/automake.mk
+++ b/lib/automake.mk
@@ -575,7 +575,7 @@ MAN_FRAGMENTS += \
OVSIDL_BUILT += lib/vswitch-idl.c lib/vswitch-idl.h lib/vswitch-idl.ovsidl
EXTRA_DIST += lib/vswitch-idl.ann
-lib/vswitch-idl.ovsidl: vswitchd/vswitch.ovsschema lib/vswitch-idl.ann
+lib/vswitch-idl.ovsidl: vswitchd/vswitch.ovsschema lib/vswitch-idl.ann python/ovs/dirs.py
$(AM_V_GEN)$(OVSDB_IDLC) annotate $(srcdir)/vswitchd/vswitch.ovsschema $(srcdir)/lib/vswitch-idl.ann > $@.tmp && mv $@.tmp $@
lib/dirs.c: lib/dirs.c.in Makefile