Currently dirs.py is included in released tarball (make dist), but it should be generated during build, since it includes the prefix that may change by configure --prefix and other options.
This commit removes dirs.py from EXTRA_DIST so it's not included in released tarball (make dist). Reported-at: https://bugzilla.redhat.com/2055576 Fixes: 943c4a325045 ("python: set ovs.dirs variables with build system values") Signed-off-by: Timothy Redaelli <[email protected]> --- python/automake.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/automake.mk b/python/automake.mk index 767512f17..c32ac3b6a 100644 --- a/python/automake.mk +++ b/python/automake.mk @@ -42,6 +42,9 @@ ovs_pyfiles = \ python/ovs/version.py \ python/ovs/vlog.py \ python/ovs/winutils.py + +EXTRA_DIST += $(ovs_pyfiles) $(ovstest_pyfiles) + # These python files are used at build time but not runtime, # so they are not installed. EXTRA_DIST += \ @@ -59,7 +62,6 @@ EXTRA_DIST += \ EXTRA_DIST += python/ovs/_json.c PYFILES = $(ovs_pyfiles) python/ovs/dirs.py $(ovstest_pyfiles) -EXTRA_DIST += $(PYFILES) PYCOV_CLEAN_FILES += $(PYFILES:.py=.py,cover) FLAKE8_PYFILES += \ -- 2.35.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
